* "perf record" has no samples when glibc-debuginfo installed
@ 2018-03-29 2:46 qiu_qiu
2018-03-29 8:41 ` Florian Weimer
0 siblings, 1 reply; 2+ messages in thread
From: qiu_qiu @ 2018-03-29 2:46 UTC (permalink / raw)
To: libc-help
"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) ]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "perf record" has no samples when glibc-debuginfo installed
2018-03-29 2:46 "perf record" has no samples when glibc-debuginfo installed qiu_qiu
@ 2018-03-29 8:41 ` Florian Weimer
0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2018-03-29 8:41 UTC (permalink / raw)
To: qiu_qiu, libc-help
On 03/29/2018 04:46 AM, qiu_qiu wrote:
> "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
The probes appear to be there:
# stap -r 4.15.12-301.fc27.x86_64 -L
'process("/lib64/libc.so.6").mark("*")'
process("/usr/lib64/libc-2.26.so").mark("lll_lock_wait_private") $arg1:long
process("/usr/lib64/libc-2.26.so").mark("longjmp") $arg1:long $arg2:long
$arg3:long
process("/usr/lib64/libc-2.26.so").mark("longjmp_target") $arg1:long
$arg2:long $arg3:long
process("/usr/lib64/libc-2.26.so").mark("memory_arena_new") $arg1:long
$arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_arena_retry") $arg1:long
$arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_arena_reuse") $arg1:long
$arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_arena_reuse_free_list")
$arg1:long
process("/usr/lib64/libc-2.26.so").mark("memory_arena_reuse_wait")
$arg1:long $arg2:long $arg3:long
process("/usr/lib64/libc-2.26.so").mark("memory_calloc_retry") $arg1:long
process("/usr/lib64/libc-2.26.so").mark("memory_heap_free") $arg1:long
$arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_heap_less") $arg1:long
$arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_heap_more") $arg1:long
$arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_heap_new") $arg1:long
$arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_malloc_retry") $arg1:long
process("/usr/lib64/libc-2.26.so").mark("memory_mallopt") $arg1:long
$arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_mallopt_arena_max")
$arg1:long $arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_mallopt_arena_test")
$arg1:long $arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_mallopt_free_dyn_thresholds")
$arg1:long $arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_mallopt_mmap_max")
$arg1:long $arg2:long $arg3:long
process("/usr/lib64/libc-2.26.so").mark("memory_mallopt_mmap_threshold")
$arg1:long $arg2:long $arg3:long
process("/usr/lib64/libc-2.26.so").mark("memory_mallopt_mxfast")
$arg1:long $arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_mallopt_perturb")
$arg1:long $arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_mallopt_top_pad")
$arg1:long $arg2:long $arg3:long
process("/usr/lib64/libc-2.26.so").mark("memory_mallopt_trim_threshold")
$arg1:long $arg2:long $arg3:long
process("/usr/lib64/libc-2.26.so").mark("memory_memalign_retry")
$arg1:long $arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_realloc_retry")
$arg1:long $arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_sbrk_less") $arg1:long
$arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_sbrk_more") $arg1:long
$arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_tunable_tcache_count")
$arg1:long $arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_tunable_tcache_max_bytes")
$arg1:long $arg2:long
process("/usr/lib64/libc-2.26.so").mark("memory_tunable_tcache_unsorted_limit")
$arg1:long $arg2:long
process("/usr/lib64/libc-2.26.so").mark("setjmp") $arg1:long $arg2:long
$arg3:long
But they use "memory", not "malloc" for some reason.
Thanks,
Florian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-29 8:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-29 2:46 "perf record" has no samples when glibc-debuginfo installed qiu_qiu
2018-03-29 8:41 ` Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).