This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
"perf record" has no samples when glibc-debuginfo installed
- From: qiu_qiu <linuxfighting at 163 dot com>
- To: libc-help at sourceware dot org
- Date: Thu, 29 Mar 2018 10:46:13 +0800 (CST)
- Subject: "perf record" has no samples when glibc-debuginfo installed
"perf record" has no samples on fedora 27 when installed glibc-debuginfo package
How reproducible:
Steps to Reproduce:
1. debuginfo-install glibc
2. perf probe -x /lib64/libc.so.6 malloc
3. perf record -e probe_libc:malloc -a ls
Actual results:
[root@localhost ~]# perf record -e probe_libc:malloc -a ls
anaconda-ks.cfg Documents Music perf.data.old Public Videos
Desktop Downloads perf.data Pictures Templates
[ perf record: Woken up 0 times to write data ]
[ perf record: Captured and wrote 0.239 MB perf.data ]
Expected results:
[root@localhost ~]# perf record -e probe_libc:malloc -a ls
anaconda-ks.cfg Documents Music perf.data.old Public Videos
Desktop Downloads perf.data Pictures Templates
[ perf record: Woken up 0 times to write data ]
[ perf record: Captured and wrote 0.239 MB perf.data (72 samples) ]