Messages in this thread | | | Subject | Re: [PATCH 1/4] Add support for userspace stacktraces in tracing/iter_ctrl | From | (Frank Ch. Eigler) | Date | Sun, 26 Oct 2008 09:15:42 -0400 |
| |
"=?ISO-8859-1?Q?Fr=E9d=E9ric_Weisbecker?=" <fweisbec@gmail.com> writes:
> [...] >> +/* Userspace stacktrace - based on kernel/trace/trace_sysprof.c */ >> + >> +struct stack_frame { >> + const void __user *next_fp; >> + unsigned long return_address; >> +}; > [...]
To what extent does this actually work, and on which architectures? While the kernel appears willing to sacrifice some performance for functionality by building with frame pointers at the drop of a tracing hat, userspace is not like that.
- FChE
| |