diff options
author | Jiri Olsa <jolsa@kernel.org> | 2019-10-24 15:30:25 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-10-25 23:34:47 +0200 |
commit | a94364603610f341564351a0e130c4bbcaeddfa0 (patch) | |
tree | 5ac57486a112f1541e608298a60c69478f597ee8 /kernel/profile.c | |
parent | 3820729160440158a014add69cc0d371061a96b2 (diff) | |
download | linux-a94364603610f341564351a0e130c4bbcaeddfa0.tar.gz |
bpftool: Allow to read btf as raw data
The bpftool interface stays the same, but now it's possible
to run it over BTF raw data, like:
$ bpftool btf dump file /sys/kernel/btf/vmlinux
[1] INT '(anon)' size=4 bits_offset=0 nr_bits=32 encoding=(none)
[2] INT 'long unsigned int' size=8 bits_offset=0 nr_bits=64 encoding=(none)
[3] CONST '(anon)' type_id=2
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Link: https://lore.kernel.org/bpf/20191024133025.10691-1-jolsa@kernel.org
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions