linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to see glibc symbol when using perf to profile programs
@ 2013-09-26  1:26 caobenzhi
  2013-09-26  9:04 ` caobenzhi
  0 siblings, 1 reply; 2+ messages in thread
From: caobenzhi @ 2013-09-26  1:26 UTC (permalink / raw)
  To: linux-perf-users

Hi, everyone~ recently I use perf to see the bottleneck of my program. 
But I encounter a problem: I cann't use which function in glibc was called.
The command I use were like follows:
perf record -g ./wc ~/data/wc/10MB.txt -n 1
perf report -g
And the results I get were like follows:
48.13%  wc  libc-2.15.so                 [.] 0x000000000008c5a9
12.29%  wc  [kernel.kallsyms]         [k] clear_page_c
Also when I enter the libc-2.15.so, the results were as follows:
48.13%  wc  libc-2.15.so                 [.] 0x000000000008c5a9         
   + 0x7f5adf1a05bd                                                       
   + 0x7f5adf1a05a9                                                        
   + 0x7f5adf245e5e                                                        
     0x7f5adf26231e                                                        
     0x1                                                                   
     0x7f5adf2622e6                                                        
     0x1         
I cann't see which functions in glibc was called. 
Do anyone who know how to fix that problem?
Thanks a lot~
Emily

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-26  9:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-26  1:26 how to see glibc symbol when using perf to profile programs caobenzhi
2013-09-26  9:04 ` caobenzhi

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 NNTP newsgroup(s).