This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Francis Deslauriers
Recipients Francis Deslauriers
Date 2016-12-08.20:04:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481227474.94.0.337411886613.issue28909@psf.upfronthosting.co.za>
In-reply-to
Content
This patch extends the tracing infrastructure to support LTTng UserSpace
Tracer. Using LTTng-UST, users would have access to a low overhead tracing 
done entirely from userspace.

Depending on the tracing configure option used (none, --with-dtrace or
--with-lttngust) macros will be expanded to probes and tracepoints of the
desired tracer if any. Only the needed instrumentation will be added to the
binary. This technique is used to different degrees by other projects like 
Qemu[1] and Node.js[2].

I attached a patch adding this feature. I tested the changes and the 
instrumentation on LTTng-UST and SystemTap on Ubuntu 16.04. I would 
appreciate if someone could test those changes on macOS and other
platforms supporting USDT probes.

[1]https://github.com/qemu/qemu/blob/master/configure#L4303
[2]https://github.com/nodejs/node/blob/master/configure#L811
History
Date User Action Args
2016-12-08 20:04:36Francis Deslaurierssetrecipients: + Francis Deslauriers
2016-12-08 20:04:34Francis Deslaurierssetmessageid: <1481227474.94.0.337411886613.issue28909@psf.upfronthosting.co.za>
2016-12-08 20:04:34Francis Deslaurierslinkissue28909 messages
2016-12-08 20:04:34Francis Deslaurierscreate