sysprof: kernel trace
authorSoeren Sandmann Pedersen <sandmann@redhat.com>
Mon, 12 May 2008 19:20:54 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 21:58:50 +0000 (23:58 +0200)
commitcd2134b1dda92fd450e6a1e12b1c7960dd6a2178
tree2b5105a3055ffc8613719b07558d96a32a71fa30
parent5fc4511c756860149b81aead6eca5bdf5c438ea7
sysprof: kernel trace

add kernel backtracing to the sysprof tracer.

change the format of the data, so that type=0 means
beginning of stack trace, 1 means kernel address, 2 means user
address, and 3 means end of trace.

EIP addresses are no longer distinguished from return addresses,
mostly because sysprof userspace doesn't make use of it. It may be
worthwhile adding this back in though, just in case it becomes
interesting.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/trace/trace_sysprof.c