aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/failslab.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2019-11-26 17:34:42 +0900
committerShuah Khan <skhan@linuxfoundation.org>2019-12-09 10:53:04 -0700
commit5cc6c8d4a99d0ee4d5466498e258e593df1d3eb6 (patch)
tree9ea6bbe3b610fc8bd91e4fa9eb95403452eba8f4 /mm/failslab.c
parentselftests/ftrace: Do not to use absolute debugfs path (diff)
downloadwireguard-linux-5cc6c8d4a99d0ee4d5466498e258e593df1d3eb6.tar.xz
wireguard-linux-5cc6c8d4a99d0ee4d5466498e258e593df1d3eb6.zip
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>
Diffstat (limited to 'mm/failslab.c')
0 files changed, 0 insertions, 0 deletions