aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/ktest/examples/bootconfigs/functiongraph.bconf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/testing/ktest/examples/bootconfigs/functiongraph.bconf15
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 000000000000..68debfcbda76
--- /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"
+ }
+ }
+}
+