From mboxrd@z Thu Jan 1 00:00:00 1970 From: yannick.brosseau@gmail.com (Yannick Brosseau) Date: Wed, 16 Jan 2013 11:55:27 -0500 Subject: [lttng-dev] [lttng-tools PATCH] Add support for kernel uprobes In-Reply-To: <20130116155238.GA11695@Krystal> References: <1358132617-18443-1-git-send-email-yannick.brosseau@gmail.com> <20130116155238.GA11695@Krystal> Message-ID: <50F6DB7F.5070202@gmail.com> On 2013-01-16 10:52, Mathieu Desnoyers wrote: > * Yannick Brosseau (yannick.brosseau at gmail.com) wrote: >> Inspired by the k*probe support. >> >> It add a new option to enable-event --uprobe which require a path name >> and an offset in the specified file. >> >> (The file Documentation/trace/uprobetracer.txt in the kernel source provides >> and example on how to extract the offset for a symbol in a program) > Asking Masami and looking at perf might help us add support for lookup > by file/lineno (using dwarf info). I think in terms of usability this is > really important, and should appear in tools at the same time as the > basic feature based on file/offset (or at least appear in the same > LTTng release). > > We should keep in mind that liblttng-ctl is LGPLv2.1, so we cannot use > perf code as-is without asking for the author's permission first. > Nothing prevents us from writing this support ourself if need be though. Ok, great, I'll look into it.