Please ship a glibc build for profiling in libc6-prof
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* The C library shipped in libc6 is built with GCC's default behavior of omitting the frame pointer that makes tracing and profiling harder. Building GLibc with -fno-omit-
[Test Case]
* Install libc6-prof and start tracing in one shell:
sudo bpftrace -e 't:syscalls:
Attaching 1 probe...
* Run the traced program in a different shell
env LD_LIBRARY_
* Repeat it without using the libc6-prof library:
ubuntu@ff-glibc:~$ sleep 1
ubuntu@ff-glibc:~$ sudo bpftrace -e 't:syscalls:
Attaching 1 probe...
[ Where problems could occur ]
* Glibc does not build for some architectures with the additional -fno-omit-
* The -fno-omit-
* Libc6-prof may be slower thanks to the -fno-omit-
tags: | added: block-proposed-groovy |
Changed in glibc (Ubuntu): | |
status: | Fix Committed → Fix Released |
Hello Balint, or anyone else affected,
Accepted glibc into groovy-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ glibc/2. 32-0ubuntu3. 1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification- needed- groovy to verification- done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- groovy. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.