Return bpf program run_time_ns and run_cnt via bpf_prog_info
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -2813,6 +2813,8 @@ struct bpf_prog_info { · 2812 unmodified lines | |||
| 2813 | __u32 jited_line_info_rec_size; | 2813 | __u32 jited_line_info_rec_size; |
| 2814 | __u32 nr_prog_tags; | 2814 | __u32 nr_prog_tags; |
| 2815 | __aligned_u64 prog_tags; | 2815 | __aligned_u64 prog_tags; |
| 2816 | __u64 run_time_ns; | ||
| 2817 | __u64 run_cnt; | ||
| 2816 | } __attribute__((aligned(8))); | 2818 | } __attribute__((aligned(8))); |
| 2817 | 2819 | ||
| 2818 | struct bpf_map_info { | 2820 | struct bpf_map_info { |