Skip to content

Commit a22bd25

Browse files
ShawnZhongyonghong-song
authored andcommitted
tools: Remove manual KBUILD_MODNAME definition
1 parent 0fcb346 commit a22bd25

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

tools/nfsslower.py

-3
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@
7070
#include <linux/fs.h>
7171
#include <linux/sched.h>
7272
#include <linux/dcache.h>
73-
#ifndef KBUILD_MODNAME
74-
#define KBUILD_MODNAME "bcc"
75-
#endif
7673
#include <linux/nfs_fs.h>
7774
7875
#define TRACE_READ 0

tools/rdmaucma.py

-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@
3535

3636
# define BPF program
3737
bpf_text = """
38-
#ifndef KBUILD_MODNAME
39-
#define KBUILD_MODNAME "bcc"
40-
#endif
4138
#include <linux/bpf.h>
4239
#include <uapi/linux/ptrace.h>
4340
#include <rdma/rdma_cm.h>

tools/tcprtt.py

-3
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@
7777

7878
# define BPF program
7979
bpf_text = """
80-
#ifndef KBUILD_MODNAME
81-
#define KBUILD_MODNAME "bcc"
82-
#endif
8380
#include <uapi/linux/ptrace.h>
8481
#include <linux/tcp.h>
8582
#include <net/sock.h>

tools/virtiostat.py

-3
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@
4747

4848
# define BPF program
4949
bpf_text = """
50-
#ifndef KBUILD_MODNAME
51-
#define KBUILD_MODNAME "bcc"
52-
#endif
5350
#include <linux/virtio.h>
5451
#include <bcc/proto.h>
5552

0 commit comments

Comments
 (0)