OSDN Git Service

selftests/ftrace: Add error_log testcase for probe errors
authorMasami Hiramatsu <mhiramat@kernel.org>
Sun, 31 Mar 2019 23:48:20 +0000 (18:48 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 8 Apr 2019 13:22:50 +0000 (09:22 -0400)
commit8ab4483eb660b37251847e1e2a1f787b8d568e81
tree4d9683c63639860db6e1a39bdc0a46f51389379c
parent2f754e771b1a6feba670782e82c45555984ac43b
selftests/ftrace: Add error_log testcase for probe errors

Add error_log testcase for error logs on probe events.
This tests most of error cases and checks the error position
is correct.

Link: http://lkml.kernel.org/r/63d695b74e0965988fa54ffa12beeb2c3475250d.1554072478.git.tom.zanussi@linux.intel.com
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
[tom.zanussi@linux.intel.com: changed >& redirection to 2>]
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/kprobe/uprobe_syntax_errors.tc [new file with mode: 0644]