aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2021-03-24 18:52:14 -0700
committerAlexei Starovoitov <[email protected]>2021-03-26 20:41:51 -0700
commit774e132e83d0f10a7ebbfe7db1debdaed6013f83 (patch)
tree7221ed70d189d87b1c69071edb4402416060eb5c /tools/perf/scripts/python/syscall-counts.py
parent933d1aa32409ef4209c8065ee4ede68236659cd2 (diff)
libbpf: Refactor codes for finding btf id of a kernel symbol
This patch refactors code, that finds kernel btf_id by kind and symbol name, to a new function find_ksym_btf_id(). It also adds a new helper __btf_kind_str() to return a string by the numeric kind value. Signed-off-by: Martin KaFai Lau <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions