diff options
author | 2021-08-10 11:08:22 +0900 | |
---|---|---|
committer | 2021-08-16 11:39:51 -0400 | |
commit | 54b3498d71ae03f70cb7c366d269d0af49d29ec1 (patch) | |
tree | 6ffa631757e464059ed71f3a3f9afe1898cd6dce /tools/testing/ktest/examples/bootconfigs/verify-boottrace.sh | |
parent | tools/bootconfig: Use per-group/all enable option in ftrace2bconf script (diff) | |
download | wireguard-linux-54b3498d71ae03f70cb7c366d269d0af49d29ec1.tar.xz wireguard-linux-54b3498d71ae03f70cb7c366d269d0af49d29ec1.zip |
bootconfig/tracing/ktest: Update ktest example for boot-time tracing
Update ktest example for the boot-time tracing with histogram
options. Note that since the histogram option uses "trace()" action
instead of "EVENT()", this updates the matching pattern too.
Link: https://lkml.kernel.org/r/162856130208.203126.4458319094852152589.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest/examples/bootconfigs/verify-boottrace.sh')
-rwxr-xr-x | tools/testing/ktest/examples/bootconfigs/verify-boottrace.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/ktest/examples/bootconfigs/verify-boottrace.sh b/tools/testing/ktest/examples/bootconfigs/verify-boottrace.sh index f271940ce7fb..233e95cfcf20 100755 --- a/tools/testing/ktest/examples/bootconfigs/verify-boottrace.sh +++ b/tools/testing/ktest/examples/bootconfigs/verify-boottrace.sh @@ -58,7 +58,7 @@ compare_file_partial "events/synthetic/initcall_latency/enable" "0" compare_file_partial "events/initcall/initcall_start/trigger" "hist:keys=func:vals=hitcount:ts0=common_timestamp.usecs" compare_file_partial "events/initcall/initcall_start/enable" "1" -compare_file_partial "events/initcall/initcall_finish/trigger" 'hist:keys=func:vals=hitcount:lat=common_timestamp.usecs-\$ts0:sort=hitcount:size=2048:clock=global:onmatch(initcall.initcall_start).initcall_latency(func,\$lat)' +compare_file_partial "events/initcall/initcall_finish/trigger" 'hist:keys=func:vals=hitcount:lat=common_timestamp.usecs-\$ts0:sort=hitcount:size=2048:clock=global:onmatch(initcall.initcall_start).trace(initcall_latency,func,\$lat)' compare_file_partial "events/initcall/initcall_finish/enable" "1" compare_file "instances/foo/current_tracer" "function" |