Can 'gprof' show profile info on lib routines such as 'malloc'?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Congcong
    New Member
    • Apr 2008
    • 2

    #1

    Can 'gprof' show profile info on lib routines such as 'malloc'?

    When I use gprof to profile a program, it seems never show me the profile info on c lib routines such as malloc. But sometimes, profile info on such c lib routines are also important.
    I use 'gcc -g -pg' to compile the c source. Should I use other options in order for gprof to show 'malloc'?

    Any more suggestions on program profiling?

    Thanks!
  • Congcong
    New Member
    • Apr 2008
    • 2

    #2
    Can anybody give a little hint? Or this question is just too boring?

    Thanks in advance!

    Comment

    Working...