1ftrace.event {
2	task.task_newtask {
3		filter = "pid < 128"
4		enable
5	}
6	kprobes.vfs_read {
7		probes = "vfs_read $arg1 $arg2"
8		filter = "common_pid < 200"
9		enable
10	}
11	synthetic.initcall_latency {
12		fields = "unsigned long func", "u64 lat"
13		actions = "hist:keys=func.sym,lat:vals=lat:sort=lat"
14	}
15	initcall.initcall_start {
16		actions = "hist:keys=func:ts0=common_timestamp.usecs"
17	}
18	initcall.initcall_finish {
19		actions = "hist:keys=func:lat=common_timestamp.usecs-$ts0:onmatch(initcall.initcall_start).initcall_latency(func,$lat)"
20	}
21}
22
23ftrace.instance {
24	foo {
25		tracer = "function"
26		ftrace.filters = "user_*"
27		cpumask = 1
28		options = nosym-addr
29		buffer_size = 512KB
30		trace_clock = mono
31		event.signal.signal_deliver.actions=snapshot
32	}
33	bar {
34		tracer = "function"
35		ftrace.filters = "kernel_*"
36		cpumask = 2
37		trace_clock = x86-tsc
38	}
39}
40
41ftrace.alloc_snapshot
42
43kernel {
44	trace_options = sym-addr
45	trace_event = "initcall:*"
46	trace_buf_size = 1M
47	ftrace = function
48	ftrace_filter = "vfs*"
49}
50