Sorry if this is a repeat. Tim -------- Original Message -------- Subject: rfc on unwinding through uretprobe trampoline Date: Wed, 16 Dec 2009 18:10:49 +0100 From: Tim Moore To: external-perftools-list@redhat.com I wrote the following code to assist with doing backtraces though any uretprobe trampolines that might be on the stack. It has a significant limitation: it only works when called from a uretprobe handler. This lets the code bypass any lookup, and consequent locking, of the uprobes proc and thread structures. I'm wondering if this function is sufficiently useful to check in, or whether a general function that works from anywhere is what's needed. Other comments about the code are welcome too. Thanks, Tim