diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-03-19 13:24:42 -0400 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-03-19 15:58:38 -0400 |
commit | 2fbcdb35aca614f9529a0e7d340146cf0b71684f (patch) | |
tree | 02b717134d9d82b1f9a7cebd4e3daccde542cf5c /kernel/trace/trace_mmiotrace.c | |
parent | 5ef841f6f32dce0b752a4fa0622781ee67a0e874 (diff) | |
download | op-kernel-dev-2fbcdb35aca614f9529a0e7d340146cf0b71684f.zip op-kernel-dev-2fbcdb35aca614f9529a0e7d340146cf0b71684f.tar.gz |
function-graph: calculate function depth within function graph tracer
Currently, the function graph tracer depends on the trace_printk
to record the depth. All the information is already there in the trace
to calculate function depth, with the exception of having the printk
be the first item. But as soon as a entry or exit is reached, then
we know the depth.
This patch changes the iter->private data from recording a per cpu
last_pid, to a structure that holds both the last_pid and the current
depth. This data is used to determine the function depth for the
printks.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/trace/trace_mmiotrace.c')
0 files changed, 0 insertions, 0 deletions