diff options
author | 2023-07-09 02:56:29 +0000 | |
---|---|---|
committer | 2023-07-11 20:07:51 -0700 | |
commit | 62b57e3ddd64002f5b3f6fb2ea50b79a2994cfec (patch) | |
tree | ed826b22ca972f64ee0a169183534d79acdd5ff5 /include/linux/rcutiny.h | |
parent | bpf: Support ->fill_link_info for perf_event (diff) | |
download | wireguard-linux-62b57e3ddd64002f5b3f6fb2ea50b79a2994cfec.tar.xz wireguard-linux-62b57e3ddd64002f5b3f6fb2ea50b79a2994cfec.zip |
bpftool: Add perf event names
Add new functions and macros to get perf event names. These names except
the perf_type_name are all copied from
tool/perf/util/{parse-events,evsel}.c, so that in the future we will
have a good chance to use the same code.
Suggested-by: Jiri Olsa <olsajiri@gmail.com>
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20230709025630.3735-10-laoar.shao@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/rcutiny.h')
0 files changed, 0 insertions, 0 deletions