linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using perf to generate a call stack from a kernel function to the user space caller
@ 2015-01-20 17:08 AKel
  2015-01-20 18:40 ` Rick Jones
  0 siblings, 1 reply; 5+ messages in thread
From: AKel @ 2015-01-20 17:08 UTC (permalink / raw)
  To: linux-perf-users

Hi,

I'm trying to profile an application which is spending quite a bit of time 
in the kernel (~40% in do_raw_spin_lock for example). To fully understand 
what is happening I would like to generate a call stack using perf (or 
otherwise) to see where the calls to this function are originating from. 
Is this possible? My hands are slightly tied in that I don't have sudo 
access to the system I'm working on, so a solution which accounts for this 
would be greatly appreciated. Even transferring files to/from the system 
is very difficult so I'm rather restricted in what i can do.

Thanks,
A

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

end of thread, other threads:[~2015-01-21 14:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-20 17:08 Using perf to generate a call stack from a kernel function to the user space caller AKel
2015-01-20 18:40 ` Rick Jones
2015-01-21  9:42   ` AKel
2015-01-21 12:40     ` Arnaldo Carvalho de Melo
2015-01-21 14:56       ` Arnaldo Carvalho de Melo

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