tracing/selftests: Update synthetic event selftest to use common_stacktrace
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 24 May 2023 02:54:29 +0000 (22:54 -0400)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 24 May 2023 03:47:49 +0000 (23:47 -0400)
commitf1aab363438cd1c55a3c5420db2a17c0e29ef625
tree21a77db1c31261d885aa93296dc978cac6c2d6ac
parent4b512860bdbdddcf41467ebd394f27cb8dfb528c
tracing/selftests: Update synthetic event selftest to use common_stacktrace

With the rename of the stacktrace field to common_stacktrace, update the
selftests to reflect this change. Copy the current selftest to test the
backward compatibility "stacktrace" keyword. Also the "requires" of that
test was incorrect, so it would never actually ran before. That is fixed
now.

Link: https://lore.kernel.org/linux-trace-kernel/20230523225402.55951f2f@rorschach.local.home
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Tom Zanussi <zanussi@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-stack-legacy.tc [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-stack.tc