This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fwd: rfc on unwinding through uretprobe trampoline


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 <timoore@redhat.com>
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

Attachment: 0001-function-to-translate-from-the-uretprobe-trampoline.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]