]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tracing: selftests: Add trace remote tests
authorVincent Donnefort <vdonnefort@google.com>
Mon, 9 Mar 2026 16:25:01 +0000 (16:25 +0000)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 9 Mar 2026 16:33:55 +0000 (12:33 -0400)
commit0a1b03251db15eef1709f2db9846ac6918813227
treee9a7a01e7ee07abec747b1b024c6ced053f688f4
parentea908a2b79c84279f06d6c4fa19bf45f113a34d0
tracing: selftests: Add trace remote tests

Exercise the tracefs interface for trace remote with a set of tests to
check:

  * loading/unloading (unloading.tc)
  * reset (reset.tc)
  * size changes (buffer_size.tc)
  * consuming read (trace_pipe.tc)
  * non-consuming read (trace.tc)

Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-kselftest@vger.kernel.org
Link: https://patch.msgid.link/20260309162516.2623589-16-vdonnefort@google.com
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/remotes/buffer_size.tc [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/remotes/functions [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/remotes/reset.tc [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/remotes/trace.tc [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/remotes/trace_pipe.tc [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/remotes/unloading.tc [new file with mode: 0644]