I'm using perf record -g on x86-64 Linux to profile a program.  Several symbols in libc or libstdc++ have 0 as a parent: __GI___strcmp_ssse3 (libc) and strcmp@plt (libstdc++) for example.  (I can actually break on these symbols in the debugger and get a backtrace.)I'd love to know what the major callers of these functions are, and why they are not recorded.  Is this because libc and libstdc++ do not have frame pointers on x86_64? And, more practically, is there some way around this?
How to make linux 'perf record' work for libc and libstdc++ symbols?
glibc;profiling;perf