xref: /linux/tools/testing/ktest/examples/bootconfigs/tracing.bconf (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1ftrace {
2	tracer = function_graph;
3	options = event-fork, sym-addr, stacktrace;
4	buffer_size = 1M;
5	alloc_snapshot;
6	trace_clock = global;
7	events = "task:task_newtask", "initcall:*";
8	event.sched.sched_process_exec {
9		filter = "pid < 128";
10	}
11	instance.bar {
12		event.kprobes {
13			myevent {
14				probes = "vfs_read $arg2 $arg3";
15			}
16			myevent2 {
17				probes = "vfs_write $arg2 +0($arg2):ustring $arg3";
18			}
19			myevent3 {
20				probes = "initrd_load";
21			}
22			enable
23		}
24	}
25	instance.foo {
26		tracer = function;
27		tracing_on = false;
28	};
29}
30kernel {
31	ftrace_dump_on_oops = "orig_cpu"
32	traceoff_on_warning
33}
34