New submission from Francis Deslauriers: 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 ---------- files: 0001-Add-LTTng-UST-probe-and-tracepoints.patch keywords: patch messages: 282733 nosy: Francis Deslauriers priority: normal severity: normal status: open title: Adding LTTng-UST tracing support type: enhancement versions: Python 3.7 Added file: http://bugs.python.org/file45802/0001-Add-LTTng-UST-probe-and-tracepoints.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28909> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com