diff options
| author | Sandipan Das <sandipan@linux.vnet.ibm.com> | 2018-05-24 02:56:49 -0400 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-05-24 03:20:49 -0400 |
| commit | dd0c5f072e650458feb307fe3a8602cc2ec369d4 (patch) | |
| tree | 323225feb237596d435d518d9328501e5e9dba8c /tools/include/uapi/linux | |
| parent | dbecd7388476aedeb66389febea84d5450d28773 (diff) | |
tools: bpf: sync bpf uapi header
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 <sandipan@linux.vnet.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/include/uapi/linux')
| -rw-r--r-- | tools/include/uapi/linux/bpf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index c3e502d06bc3..0be90965867d 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h | |||
| @@ -2205,6 +2205,8 @@ struct bpf_prog_info { | |||
| 2205 | __u32 gpl_compatible:1; | 2205 | __u32 gpl_compatible:1; |
| 2206 | __u64 netns_dev; | 2206 | __u64 netns_dev; |
| 2207 | __u64 netns_ino; | 2207 | __u64 netns_ino; |
| 2208 | __u32 nr_jited_ksyms; | ||
| 2209 | __aligned_u64 jited_ksyms; | ||
| 2208 | } __attribute__((aligned(8))); | 2210 | } __attribute__((aligned(8))); |
| 2209 | 2211 | ||
| 2210 | struct bpf_map_info { | 2212 | struct bpf_map_info { |
