Re: [PATCH 1/4] Add support for userspace stacktraces in tracing/iter_ctrl
- From: fche@xxxxxxxxxx (Frank Ch. Eigler)
- Date: Sun, 26 Oct 2008 09:15:42 -0400
"=?ISO-8859-1?Q?Fr=E9d=E9ric_Weisbecker?=" <fweisbec@xxxxxxxxx> 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
--
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/
- Follow-Ups:
- Re: [PATCH 1/4] Add support for userspace stacktraces in tracing/iter_ctrl
- From: Peter Zijlstra
- Re: [PATCH 1/4] Add support for userspace stacktraces in tracing/iter_ctrl
- References:
- [PATCH 0/4] ftrace: add userspace stacktrace support and semaphore-latency tracer
- From: Török Edwin
- [PATCH 1/4] Add support for userspace stacktraces in tracing/iter_ctrl
- From: Török Edwin
- Re: [PATCH 1/4] Add support for userspace stacktraces in tracing/iter_ctrl
- From: Frédéric Weisbecker
- [PATCH 0/4] ftrace: add userspace stacktrace support and semaphore-latency tracer
- Prev by Date: Re: Random problems with 2.6.28-rc1-git1
- Next by Date: Re: Linux 2.6.28-rc1
- Previous by thread: Re: [PATCH 1/4] Add support for userspace stacktraces in tracing/iter_ctrl
- Next by thread: Re: [PATCH 1/4] Add support for userspace stacktraces in tracing/iter_ctrl
- Index(es):
Relevant Pages
|