aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorQuentin Monnet <[email protected]>2019-08-20 14:53:46 +0100
committerDaniel Borkmann <[email protected]>2019-08-20 16:19:12 +0200
commit3481e64bbe9876e359aec74c9e93039b94f678b0 (patch)
treed559bb98a7c7bc23bc2aea6bb69d32880c5679cb /tools/perf/scripts/python/sched-migration.py
parentede6bc88d6bbe16a938de2b00f60f4e03768c988 (diff)
bpf: add BTF ids in procfs for file descriptors to BTF objects
Implement the show_fdinfo hook for BTF FDs file operations, and make it print the id of the BTF object. This allows for a quick retrieval of the BTF id from its FD; or it can help understanding what type of object (BTF) the file descriptor points to. v2: - Do not expose data_size, only btf_id, in FD info. Signed-off-by: Quentin Monnet <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions