[Bug 1818778] Re: Python should be compiled with USDT/dtrace user-space probes
Seth Arnold
1818778 at bugs.launchpad.net
Tue Mar 12 20:42:02 UTC 2019
The systemtap dependency may be easier to handle this time around than
last time: we've slightly changed the rules about build-dependencies:
https://lists.ubuntu.com/archives/ubuntu-devel-
announce/2016-April/001179.html
Be sure to pay attention to this point:
> - If you have a build-dependency which does not result in a runtime
> dependency, but *does* result in code being copied into the final
> package, you must ensure that this code copying is declared using the
> Built-Using header[5]. (This is an uncommon case; the vast majority of
> the affected packages are written in go, where our package toolchain
> handles this automatically today.)
Thanks
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1818778
Title:
Python should be compiled with USDT/dtrace user-space probes
Status in python3.7 package in Ubuntu:
Confirmed
Status in python3.8 package in Ubuntu:
Confirmed
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.7/+bug/1818778/+subscriptions
More information about the foundations-bugs
mailing list