* Profiling processes in Linux kernel
@ 2015-03-25 15:08 Sreejith M M
[not found] ` <5512D227.5040807@postgrad.manchester.ac.uk>
0 siblings, 1 reply; 2+ messages in thread
From: Sreejith M M @ 2015-03-25 15:08 UTC (permalink / raw)
To: kernelnewbies
Hi All,
I would like to know if there is anyway to profile thread running time
in linux kernel?
If there is already some method for it, please share.
Otherwise, let me know where to start looking
--
Thanks,
Sreejith
^ permalink raw reply [flat|nested] 2+ messages in thread
* Profiling processes in Linux kernel
[not found] ` <CAEDT3uTyhBdMjvNfU_er4mRZR_xi2rLRqYZzuG6mr641vgjY_A@mail.gmail.com>
@ 2015-03-25 15:59 ` Malte Vesper
0 siblings, 0 replies; 2+ messages in thread
From: Malte Vesper @ 2015-03-25 15:59 UTC (permalink / raw)
To: kernelnewbies
On 25/03/15 15:51, Sreejith M M wrote:
> On Wed, Mar 25, 2015 at 8:50 PM, Malte Vesper
> <malte.vesper@postgrad.manchester.ac.uk> wrote:
>> On 25/03/15 15:08, Sreejith M M wrote:
>>> Hi All,
>>>
>>> I would like to know if there is anyway to profile thread running time
>>> in linux kernel?
>>> If there is already some method for it, please share.
>>> Otherwise, let me know where to start looking
>>>
>>>
>>>
>> perf or oprofile should do the job. So far I only used perf to profile a
>> driver so far. Be aware that you have to enable the profiling options
>> when compiling your kernel.
> can you share a good tutorial or starting point to understand and use
> these tools?
>
>
>
Google is your friend, I had some success with following instructions a
bloke called Brendan Gregg, who seems to be a profiling guru, wrote:
http://www.brendangregg.com/linuxperf.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-25 15:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-25 15:08 Profiling processes in Linux kernel Sreejith M M
[not found] ` <5512D227.5040807@postgrad.manchester.ac.uk>
[not found] ` <CAEDT3uTyhBdMjvNfU_er4mRZR_xi2rLRqYZzuG6mr641vgjY_A@mail.gmail.com>
2015-03-25 15:59 ` Malte Vesper
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).