aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/ftrace/test.d/trigger
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2019-03-31 18:48:21 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-04-08 09:22:50 -0400
commitc5e4114fee0b6582b6e86804ffef95bf82bb5f78 (patch)
treec841db96850d0054cf79097350946bde48f5eaa4 /tools/testing/selftests/ftrace/test.d/trigger
parentselftests/ftrace: Add error_log testcase for probe errors (diff)
downloadwireguard-linux-c5e4114fee0b6582b6e86804ffef95bf82bb5f78.tar.xz
wireguard-linux-c5e4114fee0b6582b6e86804ffef95bf82bb5f78.zip
selftests/ftrace: Move kprobe/uprobe check_error() to test.d/functions
The k/uprobe_sytax_errors test case defines a check_error() function used to run a command and check the position of the caret in the output. This would be useful for other ftrace facilities too, so move it to test.d/functions for use by anyone. In the process, rename it to ftrace_errlog_check() and parametrize it for general use. Link: http://lkml.kernel.org/r/9f88080a06f1755811f69081926afe7e5cb53178.1554072478.git.tom.zanussi@linux.intel.com Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/selftests/ftrace/test.d/trigger')
0 files changed, 0 insertions, 0 deletions