Add created_by_comm. Signed-off-by: Stanislav Fomichev <sdf@xxxxxxxxxx> --- tools/include/uapi/linux/bpf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index a65c3b0c6935..4e883ecbba1e 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h @@ -326,6 +326,7 @@ enum bpf_attach_type { #define BPF_F_NUMA_NODE (1U << 2) #define BPF_OBJ_NAME_LEN 16U +#define BPF_CREATED_COMM_LEN 16U /* Flags for accessing BPF object from syscall side. */ #define BPF_F_RDONLY (1U << 3) @@ -3252,6 +3253,7 @@ struct bpf_prog_info { __aligned_u64 prog_tags; __u64 run_time_ns; __u64 run_cnt; + char created_by_comm[BPF_CREATED_COMM_LEN]; } __attribute__((aligned(8))); struct bpf_map_info { -- 2.23.0.700.g56cf767bdb-goog