projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8a2298
)
libbpf-tools: resolve KERNEL_VERSION macro redefined
author
Hengqi Chen
<chenhengqi@outlook.com>
Tue, 6 Apr 2021 02:14:07 +0000
(10:14 +0800)
committer
yonghong-song
<ys114321@gmail.com>
Tue, 6 Apr 2021 03:41:56 +0000
(20:41 -0700)
Signed-off-by: Hengqi Chen <chenhengqi@outlook.com>
libbpf-tools/biolatency.bpf.c
patch
|
blob
|
history
diff --git
a/libbpf-tools/biolatency.bpf.c
b/libbpf-tools/biolatency.bpf.c
index 8e6e81e20a81c2831a3e3ecff35c1276e3d2ae2e..8d8fe584d431d33002457b4aae88f4c06f1f58d0 100644
(file)
--- a/
libbpf-tools/biolatency.bpf.c
+++ b/
libbpf-tools/biolatency.bpf.c
@@
-9,8
+9,6
@@
#define MAX_ENTRIES 10240
-#define KERNEL_VERSION(a, b, c) (((a) << 16) + ((b) << 8) + (c))
-
extern int LINUX_KERNEL_VERSION __kconfig;
const volatile bool targ_per_disk = false;