]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/tracing: Add hist poll() support test
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Sun, 29 Dec 2024 13:24:39 +0000 (22:24 +0900)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 7 Jan 2025 16:48:07 +0000 (11:48 -0500)
commit80c3e28528ff9f269937fcfe73895213a2e14905
tree7bce4d529ee957aa391ba6d6b5dd9a5d66352ada
parent66fc6f521a0b91051ce6968a216a30bc52267bf8
selftests/tracing: Add hist poll() support test

Add a testcase for poll() on hist file. This introduces a helper binary
to the ftracetest, because there is no good way to reliably execute
poll() on hist file.

Cc: Shuah Khan <shuah@kernel.org>
Cc: Tom Zanussi <zanussi@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/173547867935.569911.10127126796879854182.stgit@devnote2
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/Makefile
tools/testing/selftests/ftrace/poll.c [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/trigger/trigger-hist-poll.tc [new file with mode: 0644]