tracing/histogram: Add simple tests for stacktrace usage of synthetic events
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 17 Jan 2023 15:21:31 +0000 (10:21 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 25 Jan 2023 15:31:24 +0000 (10:31 -0500)
commitb81a3a100cca1bd63d897efa339d047986615c9f
treee026258d600c60a0dbb7233e760cc07d72e35a1f
parent88238513bb26713ef6d4418bdf1af062fe608bcb
tracing/histogram: Add simple tests for stacktrace usage of synthetic events

Update the selftests to include a test of passing a stacktrace between the
events of a synthetic event.

Link: https://lkml.kernel.org/r/20230117152236.475439286@goodmis.org
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Tom Zanussi <zanussi@kernel.org>
Cc: Ross Zwisler <zwisler@google.com>
Cc: Ching-lin Yu <chinglinyu@google.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c
tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-stack.tc [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-syntax.tc