linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to get a kernel callgraph starting from a syscall
@ 2011-04-21  7:46 Francis Moreau
  2011-04-21 15:23 ` David Ahern
  0 siblings, 1 reply; 10+ messages in thread
From: Francis Moreau @ 2011-04-21  7:46 UTC (permalink / raw)
  To: linux-perf-users

Hello,

Sorry if the question is dumb but I'm a bit lost about this.

I know that ftrace exists but I think that perf can do this too: I
have a userspace application which is calling a libc C function (read)
which ends up doing a sys_read.

For the sys_read, I'd like to see what's happening in the kernel by
displaying the call graph.

Can perf do that ?

If so, would it be possible to point me out the perf command to use ?

Thanks
-- 
Francis

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

end of thread, other threads:[~2011-04-23  9:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-21  7:46 how to get a kernel callgraph starting from a syscall Francis Moreau
2011-04-21 15:23 ` David Ahern
2011-04-21 18:48   ` Francis Moreau
2011-04-21 19:49     ` David Ahern
2011-04-21 20:07       ` Francis Moreau
2011-04-22  0:47         ` David Ahern
2011-04-22  5:29           ` Francis Moreau
2011-04-22 11:46             ` Francis Moreau
2011-04-23  8:40               ` Stefan Hajnoczi
2011-04-23  9:01                 ` Francis Moreau

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