21 lines
538 B
Plaintext
21 lines
538 B
Plaintext
ftrace.event {
|
|
task.task_newtask {
|
|
filter = "pid < 128"
|
|
enable
|
|
}
|
|
kprobes.vfs_read {
|
|
probes = "vfs_read $arg1 $arg2"
|
|
filter = "common_pid < 200"
|
|
enable
|
|
}
|
|
synthetic.initcall_latency {
|
|
fields = "unsigned long func", "u64 lat"
|
|
actions = "hist:keys=func.sym,lat:vals=lat:sort=lat"
|
|
}
|
|
initcall.initcall_start {
|
|
actions = "hist:keys=func:ts0=common_timestamp.usecs"
|
|
}
|
|
initcall.initcall_finish {
|
|
actions = "hist:keys=func:lat=common_timestamp.usecs-$ts0:onmatch(initcall.initcall_start).initcall_latency(func,$lat)"
|
|
}
|
|
} |