diff options
author | Tiezhu Yang <[email protected]> | 2022-05-06 19:02:02 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2022-05-12 18:00:33 +0200 |
commit | eab691b1a6841813e84abfc8cef392b67efdaede (patch) | |
tree | bb10fa4c3a283c5090a921de23e5bf901a7b9eda /lib/netdev-notifier-error-inject.c | |
parent | a4fa106ee1e146a1955e81337ad95f0cc5c20592 (diff) |
selftests/ftrace: Save kprobe_events to test log
It may lead to kernel panic when execute the following testcase on mips:
# cd tools/testing/selftests/ftrace
# ./ftracetest test.d/kprobe/multiple_kprobes.tc
A preliminary analysis shows that the issue is related with
echo 1 > events/kprobes/enable
after add the 256 probe points.
In order to find the root cause, I want to verify which probe point has
problem, so it is necessary to save kprobe_events to test log.
With this patch, we can get the 256 probe points in the test log through
the following command:
# ./ftracetest test.d/kprobe/multiple_kprobes.tc -vvv -k
Signed-off-by: Tiezhu Yang <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions