linux_dsm_epyc7002/tools/testing/selftests/ftrace/test.d/kprobe
Masami Hiramatsu 5cc6c8d4a9 selftests/ftrace: Fix multiple kprobe testcase
Fix multiple kprobe event testcase to work it correctly.
There are 2 bugfixes.
 - Since `wc -l FILE` returns not only line number but also
   FILE filename, following "if" statement always failed.
   Fix this bug by replacing it with 'cat FILE | wc -l'
 - Since "while do-done loop" block with pipeline becomes a
   subshell, $N local variable is not update outside of
   the loop.
   Fix this bug by using actual target number (256) instead
   of $N.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2019-12-09 10:53:04 -07:00
..
add_and_remove.tc selftests/ftrace: Remove unneeded per-test init/cleanup ftrace 2018-10-24 14:49:35 -06:00
busy_check.tc selftests/ftrace: Remove unneeded per-test init/cleanup ftrace 2018-10-24 14:49:35 -06:00
kprobe_args_comm.tc selftests/ftrace: Add kprobe event with $comm argument testcase 2018-10-24 14:49:35 -06:00
kprobe_args_string.tc selftests/ftrace: Remove unneeded per-test init/cleanup ftrace 2018-10-24 14:49:35 -06:00
kprobe_args_symbol.tc selftests/ftrace: Add kprobe-event with symbol argument test 2018-10-24 14:49:35 -06:00
kprobe_args_syntax.tc selftests/ftrace: Fix to test kprobe $comm arg only if available 2018-10-24 14:49:35 -06:00
kprobe_args_type.tc selftests/ftrace: Test kprobe-event argument with various bitsize 2018-10-24 14:49:35 -06:00
kprobe_args_user.tc selftests/ftrace: Add user-memory access syntax testcase 2019-05-25 23:04:42 -04:00
kprobe_args.tc selftests/ftrace: Improve kprobe testcase to check log data 2018-10-24 14:49:35 -06:00
kprobe_eventname.tc selftests/ftrace: Select an existing function in kprobe_eventname test 2019-09-17 12:05:13 -04:00
kprobe_ftrace.tc selftests/ftrace: Make a script checkbashisms clean 2019-05-24 13:37:46 -06:00
kprobe_module.tc selftests/ftrace: Improve kprobe on module testcase to load/unload module 2018-10-24 14:49:35 -06:00
kprobe_multiprobe.tc selftests/ftrace: Add a testcase for kprobe multiprobe event 2019-08-31 12:19:39 -04:00
kprobe_syntax_errors.tc selftests/ftrace: Fix same probe error test 2019-09-28 17:13:40 -04:00
kretprobe_args.tc selftests/ftrace: Improve kretprobe testcase to check log data 2018-10-24 14:49:35 -06:00
kretprobe_maxactive.tc selftests/ftrace: Remove unneeded per-test init/cleanup ftrace 2018-10-24 14:49:35 -06:00
multiple_kprobes.tc selftests/ftrace: Fix multiple kprobe testcase 2019-12-09 10:53:04 -07:00
probepoint.tc selftests/ftrace: Remove unneeded per-test init/cleanup ftrace 2018-10-24 14:49:35 -06:00
profile.tc selftests/ftrace: Add kprobe profile testcase 2018-10-24 14:49:35 -06:00
uprobe_syntax_errors.tc selftests/ftrace: Move kprobe/uprobe check_error() to test.d/functions 2019-04-08 09:22:50 -04:00