[Bug 1818778] [NEW] Python should be compiled with USDT/dtrace user-space probes

Launchpad Bug Tracker 1818778 at bugs.launchpad.net
Wed Mar 6 08:21:04 UTC 2019


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

Python3.6 and later support being compiled with USDT/dtrace user-space
probes, this allows tools such as perf and BPF utilities (bpfcc-tools)
to do runtime profiling and tracing of Python execution.

Ubuntu should compile Python with this support to enable better
debugging of Python applications in production. perf/bpf tools can be
attached to running production processes without having to restart them
under a debugger which may destroy the situation you are trying to
observe. This would be particularly useful with OpenStack deployments
for example.

The current python3.6/python3.7/python3.8 packages do not build with
this support, because it requires a build-dependency on systemtap-sdt-
dev and the option --with-dtrace to be passed at compile time.

systemtap-sdt-dev is not currently in main, however, it was previously
approved for a MIR in Bug #1203590 - it seems the original packages this
was required for (Source Package: ust) was demoted to universe at some
point and the systemtap-sdt-dev dependency went with it. So I am hopeful
it will be re-approved for main inclusion and allow this to be done

** Affects: python3.7 (Ubuntu)
     Importance: Wishlist
     Assignee: Trent Lloyd (lathiat)
         Status: Confirmed

** Affects: python3.8 (Ubuntu)
     Importance: Wishlist
     Assignee: Trent Lloyd (lathiat)
         Status: Confirmed


** Tags: patch
-- 
Python should be compiled with USDT/dtrace user-space probes
https://bugs.launchpad.net/bugs/1818778
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list