Skip to content
Commit 62b57e3d authored by Yafang Shao's avatar Yafang Shao Committed by Alexei Starovoitov
Browse files

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: default avatarJiri Olsa <olsajiri@gmail.com>
Signed-off-by: default avatarYafang Shao <laoar.shao@gmail.com>
Reviewed-by: default avatarQuentin Monnet <quentin@isovalent.com>
Acked-by: default avatarJiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20230709025630.3735-10-laoar.shao@gmail.com
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 1b715e1b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment