diff options
| author | Joe Stringer <[email protected]> | 2017-01-26 21:20:01 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-01-31 19:20:08 +0000 |
| commit | a26305363d4b3a586a2d3554c22705538aa4e926 (patch) | |
| tree | f9145442dab9efd2d1f5d1cf402e797857f1afb7 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | tools lib api fs: Add bpf_fs filesystem detector (diff) | |
| download | kernel-a26305363d4b3a586a2d3554c22705538aa4e926.tar.gz kernel-a26305363d4b3a586a2d3554c22705538aa4e926.zip | |
perf test: Add libbpf pinning test
Add a test for the newly added BPF object pinning functionality.
For example:
# tools/perf/perf test 37
37: BPF filter :
37.1: Basic BPF filtering : Ok
37.2: BPF pinning : Ok
37.3: BPF prologue generation : Ok
37.4: BPF relocation checker : Ok
# tools/perf/perf test 37 -v 2>&1 | grep pinned
libbpf: pinned map '/sys/fs/bpf/perf_test/flip_table'
libbpf: pinned program '/sys/fs/bpf/perf_test/func=SyS_epoll_wait/0'
Signed-off-by: Joe Stringer <[email protected]>
Requested-and-Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Wang Nan <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
