]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39e95b362f23e01dc02cec864c73f5860c5d497f
tree68b17a728d328c07a31d183914cf89a06e2e3ccb
parent6d8ffe8b0ced05e7919b8298a374cbdcd54890a0
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: 400cabc644e4 (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