[lttng-dev] Using lttng-ust's libringbuffer outside lttng-ust
Josh Stone
jistone at redhat.com
Fri Feb 15 22:43:55 EST 2013
On 02/15/2013 12:36 PM, Christian Babeux wrote:
> With that said, I'm curious about which specific features of Dyninst
> SystemTAP will be using and also do you think that it would be
> possible to integrate Dyninst as an additional instrumentation source
> into lttng-ust?
We're using Dyninst mainly like a pure-userspace form of uprobes, so we
can instrument a process without any direct kernel involvement. In this
mode, stap is perfectly fine for unprivileged users (on their own
processes), and it can be faster too since it's running instrumentation
directly in-process (versus uprobes' breakpoint trap). Like uprobes,
these instrumentation points can be anywhere in the process.
And sure, I can definitely see lttng using it for similar reasons.
We've already packaged Dyninst in Fedora, if you'd like to try it out.
Josh
More information about the lttng-dev
mailing list