selftests/ftrace: Update synthetic event syntax errors
authorTom Zanussi <zanussi@kernel.org>
Mon, 1 Feb 2021 19:48:15 +0000 (13:48 -0600)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 11 Feb 2021 21:22:20 +0000 (16:22 -0500)
commitb5734e997e1117afb479ffda500e36fa91aea3e8
tree68b17a728d328c07a31d183914cf89a06e2e3ccb
parent8b5ab6bd0b293408ed8c9450831f879ce9903ea2
selftests/ftrace: Update synthetic event syntax errors

Some of the synthetic event errors and positions have changed in the
code - update those and add several more tests.

Also add a runtime check to ensure that the kernel supports dynamic
strings in synthetic events, which these tests require.

Link: https://lkml.kernel.org/r/51402656433455baead34f068c6e9466b64df9c0.1612208610.git.zanussi@kernel.org
Fixes: 81ff92a93d95 (selftests/ftrace: Add test case for synthetic event syntax errors)
Reported-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic_event_syntax_errors.tc