]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests/ftrace: Add function profiling stat testcase
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 30 Aug 2018 14:22:21 +0000 (23:22 +0900)
committerShuah Khan (Samsung OSG) <shuah@kernel.org>
Wed, 24 Oct 2018 20:49:36 +0000 (14:49 -0600)
commit5b56a07b9c461bb4db26797c82d6ac3be0f83a94
treef68e1870c7f00ef808eddcee7daf032ad20fea92
parentc21ceceae94dc22f5b42c8174efa4597a0c990de
selftests/ftrace: Add function profiling stat testcase

Add a testcase for function profiling per-cpu statistics
interface. There is already func_profile.tc, but that is
mainly focusing on the combination of function-profiler
and function tracer. This testcase ensures trace_stat
per-cpu function statistics is correctly updated.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
tools/testing/selftests/ftrace/test.d/ftrace/func_profile_stat.tc [new file with mode: 0644]