[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SystemTap probes in glibc



Hello,

I noticed that Debian's ld-linux.so didn't provide the SystemTap probes
that allow GDB to get notified of shared library changes, and avoid
re-reading the whole list from the debugged process all the time.  I saw
this thread here [1], which, if I understand correctly, ended up in
disabling the feature because of build failures.  It has been 10 years
since then, many issues have probably been ironed-out, so I was
wondering if you would consider trying to enable the feature again, at
least starting with amd64.

I don't have a pressing need for it.  I'm a GDB developer, I noticed
some tests behaving differently on my Debian machine than on my other
non-Debian machine, and it lead me to this observation.  But since it
helps GDB be a bit more efficient, I think it would be nice to have it
enabled.

According to Luis Machado, GDB expert for the ARM architecture, it's not
possible to use those probes for ARM, because the probe addresses don't
carry the Thumb bit.  So it would have to be a feature enabled only for
certain arches in any case.  For AArch64, it should be fine.

Thanks,

Simon

[1] https://lists.debian.org/debian-glibc/2014/06/threads.html#00097


Reply to: