]> Git Repo - linux.git/commit
selftests/ftrace: Add test case for synthetic event syntax errors
authorTom Zanussi <[email protected]>
Tue, 13 Oct 2020 14:17:58 +0000 (09:17 -0500)
committerSteven Rostedt (VMware) <[email protected]>
Thu, 15 Oct 2020 16:01:13 +0000 (12:01 -0400)
commit81ff92a93d954efa29e1d514934d6a47cd5f4558
tree4dd2a8f6a3d054f0a649d64a9e4f8ec0480059e1
parent10819e25799aae564005b6049a45e9808797b3bb
selftests/ftrace: Add test case for synthetic event syntax errors

Add a selftest that verifies that the syntax error messages and caret
positions are correct for most of the possible synthetic event syntax
error cases.

Link: https://lkml.kernel.org/r/af611928ce79f86eaf0af8654f1d7802d5cc21ff.1602598160.git.zanussi@kernel.org
Tested-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Tom Zanussi <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic_event_syntax_errors.tc [new file with mode: 0644]
This page took 0.057241 seconds and 4 git commands to generate.