public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* gprof missing functions
@ 2014-07-24  8:16 Real Name
  0 siblings, 0 replies; only message in thread
From: Real Name @ 2014-07-24  8:16 UTC (permalink / raw)
  To: binutils, user-mode-linux-devel, user-mode-linux-user

hi,
  When trace the UML linux kernel with gprof, it seems gprof missing some
functions.

There are new_thread_handler and fork_handler in "arch/um/kernel/process.c".
gprof catchs the new_thread_handler function, but there is no sign about
fork_handler. Because the two functions are in the same file, so it is not
kernel configuration issue. I'm sure the two functions have been executed.

And new_thread_handler call a few functions, such as, kernel_init and kthreadd.
gprof catch kthreadd but missing kernel_init. I traced the UML kernel with gdb,
so I'm sure kernel_init called by new_thread_handler.

I search with google, but failed to get useful information about gprof missing
function issue. Is there any clue/suggestion how to make gprof catch all functions?

thanks

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-24  8:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-24  8:16 gprof missing functions Real Name

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).