Re: [PATCH 1/4] Add support for userspace stacktraces in tracing/iter_ctrl

Ingo Molnar
2008-10-27T16:04:15Z

* Török Edwin <edwintorok@gmail.com> wrote:

> Usage example:
> mount -t debugfs nodev /sys/kernel/debug
> cd /sys/kernel/debug/tracing
> echo userstacktrace >iter_ctrl
> echo sched_switch >current_tracer
> echo 1 >tracing_enabled
> .... run application ...
> echo 0 >tracing_enabled
>
> Then read one of 'trace','latency_trace','trace_pipe'

okay, this makes quite a bit of sense - and sysprof already kind of
walks down into the user-space stack. (and so does oprofile, if asked)

Could you send this independently of the lock contention tracing
patches perhaps?

Ingo