projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbecd73
)
tools: bpf: sync bpf uapi header
author
Sandipan Das
<
[email protected]
>
Thu, 24 May 2018 06:56:49 +0000
(12:26 +0530)
committer
Daniel Borkmann
<
[email protected]
>
Thu, 24 May 2018 07:20:49 +0000
(09:20 +0200)
Syncing the bpf.h uapi header with tools so that struct
bpf_prog_info has the two new fields for passing on the
addresses of the kernel symbols corresponding to each
function in a program.
Signed-off-by: Sandipan Das <
[email protected]
>
Signed-off-by: Daniel Borkmann <
[email protected]
>
tools/include/uapi/linux/bpf.h
patch
|
blob
|
history
diff --git
a/tools/include/uapi/linux/bpf.h
b/tools/include/uapi/linux/bpf.h
index c3e502d06bc37f7ddfade3f34ef79c30a8e303a0..0be90965867ddf9ba0d62f48222a429b69363ce3 100644
(file)
--- a/
tools/include/uapi/linux/bpf.h
+++ b/
tools/include/uapi/linux/bpf.h
@@
-2205,6
+2205,8
@@
struct bpf_prog_info {
__u32 gpl_compatible:1;
__u64 netns_dev;
__u64 netns_ino;
+ __u32 nr_jited_ksyms;
+ __aligned_u64 jited_ksyms;
} __attribute__((aligned(8)));
struct bpf_map_info {