]> git.baikalelectronics.ru Git - kernel.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)
commit1257b444f4ade648cfb71fc2f34c8246ff4e74e3
treef68e1870c7f00ef808eddcee7daf032ad20fea92
parentcd71ba58bb6660475515353287cc57a237826d38
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]