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

From: Frank Ch. Eigler
Date: Sun Oct 26 2008 - 09:49:51 EST


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
--
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/