]> git.karo-electronics.de Git - linux-beck.git/commit
selftests: ftrace: Fix trigger-mod to run without syscall trace
authorMasami Hiramatsu <mhiramat@kernel.org>
Wed, 16 Nov 2016 08:13:47 +0000 (17:13 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 22 Nov 2016 20:52:08 +0000 (15:52 -0500)
commit780ade555a96060bf922a94b6602218fbc19a8e4
treea8415c63fffbcd3f1876cfeec82db462898bc3ee
parent131c60c39cf05287b07025b5eefac7bc10c086b0
selftests: ftrace: Fix trigger-mod to run without syscall trace

Since histogram trigger id.syscall depends on CONFIG_FTRACE_SYSCALLS,
a testcase in trigger-modifier test fails if that config is disabled.

Fix this bug by using flexible pattern to check the histogram output.

Link: http://lkml.kernel.org/r/147928402670.22982.15589445159052676877.stgit@devbox
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/trigger/trigger-hist-mod.tc