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

From: Ingo Molnar
Date: Mon Oct 27 2008 - 12:04:16 EST



* Török Edwin <edwintorok@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/