linux_dsm_epyc7002/tools/testing/selftests/ftrace/test.d
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
..
00basic selftests/ftrace: Add trace_pipe testcase 2018-10-24 14:49:36 -06:00
direct ftrace/selftests: Fix spelling mistake "wakeing" -> "waking" 2019-11-15 11:30:38 -05:00
dynevent selftests/ftrace: Add testcases for dynamic event 2018-12-10 12:22:44 -05:00
event selftests/ftrace: Add trace_printk sample module test 2018-10-24 14:49:36 -06:00
ftrace selftests/ftrace: Fix ftrace test cases to check unsupported 2019-12-09 10:53:04 -07:00
instances selftests/ftrace: Introduce exit_pass and exit_fail 2017-11-15 08:07:53 -07:00
kprobe selftests/ftrace: Fix multiple kprobe testcase 2019-12-09 10:53:04 -07:00
preemptirq kselftests: Add tests for the preemptoff and irqsoff tracers 2018-07-26 10:50:17 -04:00
selftest selftests/ftrace: Add checkbashisms meta-testcase 2019-05-24 13:38:29 -06:00
tracer selftests/ftrace: Fix invalid SPDX identifiers 2018-11-29 14:57:55 -07:00
trigger selftests/ftrace: Do not to use absolute debugfs path 2019-12-09 10:53:04 -07:00
functions selftests/ftrace: Fix to check the existence of set_ftrace_filter 2019-12-09 10:53:04 -07:00
template selftests/ftrace: Fix invalid SPDX identifiers 2018-11-29 14:57:55 -07:00