tracing/selftests: Add test to test the trace_marker
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 13 Dec 2023 16:15:27 +0000 (11:15 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 19 Dec 2023 12:35:10 +0000 (07:35 -0500)
commit3bf7009251f0f41cdd0188ab7b3879df81810703
tree394d6955b032c338a658a357ea0cf2b45ae788fb
parent76ca20c748684f63bb985166850049f242797f65
tracing/selftests: Add test to test the trace_marker

Add a test that writes longs strings, some over the size of the sub buffer
and make sure that the entire content is there.

Link: https://lore.kernel.org/linux-trace-kernel/20231213111527.6a4c9b58@gandalf.local.home
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/00basic/trace_marker.tc [new file with mode: 0755]