SFrame Support Upstreamed To GNU C Library For Glibc 2.42
([GNU] 96 Minutes Ago
SFrame Stack Tracing)
- Reference: 0001561070
- News link: https://www.phoronix.com/news/SFrame-Merged-Glibc-2.42
- Source link:
Merged today into the upstream GNU C Library code ahead of next month's Glibc 2.42 release is support for SFrame stack tracing with ELF binaries on x86 and AArch64 architectures.
SFrame is a stack trace format that is lightweight and can overcome the run-time performance cost of involving frame pointers and losing a general purpose register. Claudiu Zissulescu of Oracle today upstreamed the necessary Glibc-side patches ahead of the Glibc 2.42 release in August.
The patches merged today included [1]SFrame support on x86-based CPUs , [2]SFrame support on AArch64 CPUs , [3]SFrame stack tracing for ELF files , [4]the new --enable-sframe build option , and relevant tests.
This SFrame stack trace support goes along with the support found in GNU Binutils 2.41+ and further work to be found in Binutils 2.45.
More details on the SFrame work for those interested via the [5]SourceWare.org Wiki and further useful information also available via the [6]Gentoo Wiki .
[1] https://sourceware.org/git?p=glibc.git;a=commit;h=170206b64196c4182e1addd0ce179523cfd6d1dc
[2] https://sourceware.org/git?p=glibc.git;a=commit;h=b231c21fc6bf7443d4949982f6a34f47605a19e5
[3] https://sourceware.org/git/?p=glibc.git;a=commit;h=3360913c37f5c3a0c8737b76321fd5ce2608fcd5
[4] https://sourceware.org/git?p=glibc.git;a=commit;h=3d780a44ebdb3fb780e04682df50da1145bcd98a
[5] https://sourceware.org/binutils/wiki/sframe
[6] https://wiki.gentoo.org/wiki/Project:Toolchain/SFrame
SFrame is a stack trace format that is lightweight and can overcome the run-time performance cost of involving frame pointers and losing a general purpose register. Claudiu Zissulescu of Oracle today upstreamed the necessary Glibc-side patches ahead of the Glibc 2.42 release in August.
The patches merged today included [1]SFrame support on x86-based CPUs , [2]SFrame support on AArch64 CPUs , [3]SFrame stack tracing for ELF files , [4]the new --enable-sframe build option , and relevant tests.
This SFrame stack trace support goes along with the support found in GNU Binutils 2.41+ and further work to be found in Binutils 2.45.
More details on the SFrame work for those interested via the [5]SourceWare.org Wiki and further useful information also available via the [6]Gentoo Wiki .
[1] https://sourceware.org/git?p=glibc.git;a=commit;h=170206b64196c4182e1addd0ce179523cfd6d1dc
[2] https://sourceware.org/git?p=glibc.git;a=commit;h=b231c21fc6bf7443d4949982f6a34f47605a19e5
[3] https://sourceware.org/git/?p=glibc.git;a=commit;h=3360913c37f5c3a0c8737b76321fd5ce2608fcd5
[4] https://sourceware.org/git?p=glibc.git;a=commit;h=3d780a44ebdb3fb780e04682df50da1145bcd98a
[5] https://sourceware.org/binutils/wiki/sframe
[6] https://wiki.gentoo.org/wiki/Project:Toolchain/SFrame
phoronix