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

Frank Ch. Eigler
2008-10-26T13:49:35Z

Hi -

On Sun, Oct 26, 2008 at 03:38:45PM +0200, Török Edwin wrote:

> [...] In userspace I can get a stacktrace using DWARF unwind info,
> but doing that in the kernel would be too expensive, right? [...]

We're experimenting with just that in systemtap. The expenses
(memory: megabytes of unwind data, time: running code to process it)
would be paid only for the duration of a systemtap script that needs
that particular sort of information.

- FChE