Public bug reported:

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.8 (Ubuntu)
     Importance: Wishlist
     Assignee: Trent Lloyd (lathiat)
         Status: Confirmed

** Changed in: python3.8 (Ubuntu)
       Status: New => Confirmed

** Changed in: python3.8 (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: python3.8 (Ubuntu)
     Assignee: (unassigned) => Trent Lloyd (lathiat)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1818778

Title:
  Python should be compiled with USDT/dtrace user-space probes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.8/+bug/1818778/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to