diff options
author | Joe Stringer <[email protected]> | 2017-01-26 13:20:01 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-01-31 16:20:08 -0300 |
commit | a26305363d4b3a586a2d3554c22705538aa4e926 (patch) | |
tree | f9145442dab9efd2d1f5d1cf402e797857f1afb7 /scripts/gdb/linux/proc.py | |
parent | 71dc4c30680fa7e7fd4b82352a845e2fb4d86b2b (diff) |
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 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions