diff options
Diffstat (limited to 'tools/testing/ktest/examples/bootconfigs/functiongraph.bconf')
-rw-r--r-- | tools/testing/ktest/examples/bootconfigs/functiongraph.bconf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/testing/ktest/examples/bootconfigs/functiongraph.bconf b/tools/testing/ktest/examples/bootconfigs/functiongraph.bconf new file mode 100644 index 000000000..68debfcbd --- /dev/null +++ b/tools/testing/ktest/examples/bootconfigs/functiongraph.bconf @@ -0,0 +1,15 @@ +ftrace { + tracing_on = 0 # off by default + tracer = function_graph + event.kprobes { + start_event { + probes = "pci_proc_init" + actions = "traceon" + } + end_event { + probes = "pci_proc_init%return" + actions = "traceoff" + } + } +} + |