stapxx
stapxx copied to clipboard
Missing separate debuginfos, use: debuginfo-install glibc-2.17-222.el7.x86_64
@agentzh hi,when i use sample-bt-leaks.sxx ,the error is as follows:
[root@Thor stapxx]# ./samples/sample-bt-leaks.sxx -x 13007 --arg time=5 -D STP_NO_OVERLOAD -D MAXMAPENTRIES=10000 > a.bt Found exact match for libc: /usr/lib64/libc-2.17.so WARNING: cannot find module /usr/lib64/libc-2.17.so debuginfo: No DWARF information found [man warning::debuginfo] semantic error: while processing probe process("/usr/lib64/libc-2.17.so").function("malloc").return from: process("/usr/lib64/libc-2.17.so").function("malloc").return
semantic error: type definition 'size_t' not found in '/usr/lib64/libc-2.17.so': operator '@cast' at :57:28 source: p = ptr - &@cast(0, "size_t")[1] ^
Missing separate debuginfos, use: debuginfo-install glibc-2.17-222.el7.x86_64 Pass 2: analysis failed. [man error::pass2] Number of similar warning messages suppressed: 35. Rerun with -v to see them.
I have use "rpm -ivh glibc-2.17-222.el7.x86_64.rmp" to install glibc,can you give me some advice?
@dingjingzhen It clearly asks you to run the command "debuginfo-install glibc-2.17-222.el7.x86_64" to install the debuginfo package for that glibc package, not the glibc package itself.
The package name should be something like glibc-debuginfo-2.17-222.el7.x86_64
.
@agentzh Thank you,i have resolved this question,i intalled a wrong package. But now there is another quetion ,when i use this tool ,always get a wrong flame graph.when it show WARNING: free misses: 1453,it‘s ok,but at sometime,it not show this warning,and the flame graph obvious wrong. stapxx/samples/sample-bt-leaks.sxx -x $1 --arg time=60 --skip-badvars -D MAXSKIPPED=10000000 -D MAXMAPENTRIES=400000 -D STP_NO_OVERLOAD > a.bt. How can i get correct flame graph more stable? I'm sorry to trouble you.