diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2018-04-18 12:59:03 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-04-18 15:35:53 -0300 |
commit | eccb1b936363c62544bccb5bbb75afec9536f7e3 (patch) | |
tree | ad9b8aab29d322d65e5fab662cc11755132c318b /lib/netdev-notifier-error-inject.c | |
parent | 518c6021e9b82696819b380cd173e76cac55a01e (diff) |
perf test BPF: Fixup BPF test using epoll_pwait syscall function probe
Since e145242ea0df ("syscalls/core, syscalls/x86: Clean up syscall stub
naming convention") changed the main syscall function for 'epoll_pwait'
to something other than the expected 'SyS_epoll_pwait the' 'perf test
BPF' entries started failing, fix it by using something called from the
main syscall function instead, 'epoll_wait', which should keep this test
working in older kernels too.
Before:
# perf test BPF
40: BPF filter :
40.1: Basic BPF filtering : FAILED!
40.2: BPF pinning : Skip
40.3: BPF prologue generation : Skip
40.4: BPF relocation checker : Skip
If we use -v for that test we see the problem:
Probe point 'SyS_epoll_pwait' not found.
After:
# perf test BPF
40: BPF filter :
40.1: Basic BPF filtering : Ok
40.2: BPF pinning : Ok
40.3: BPF prologue generation : Ok
40.4: BPF relocation checker : Ok
#
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Dominik Brodowski <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Wang Nan <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions