summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-07-08 04:53:18 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2020-07-09 01:44:45 +0300
commit6984cbc6dfa280687367b9660d8c830518239851 (patch)
treed9de3685e5905e5ecd571e3bd12c1ba1089af49e /tools/perf/scripts/python/export-to-postgresql.py
parent0e289487308236903b19273f2ddb4f0adf732b9e (diff)
downloadlinux-6984cbc6dfa280687367b9660d8c830518239851.tar.xz
selftests/bpf: Switch perf_buffer test to tracepoint and skeleton
Switch perf_buffer test to use skeleton to avoid use of bpf_prog_load() and make test a bit more succinct. Also switch BPF program to use tracepoint instead of kprobe, as that allows to support older kernels, which had tracepoint support before kprobe support in the form that libbpf expects (i.e., libbpf expects /sys/bus/event_source/devices/kprobe/type, which doesn't always exist on old kernels). Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20200708015318.3827358-7-andriin@fb.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions