Re: Profiling processes in Linux kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25/03/15 15:51, Sreejith M M wrote:
> On Wed, Mar 25, 2015 at 8:50 PM, Malte Vesper
> <malte.vesper@xxxxxxxxxxxxxxxxxxxxxxxxx> 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


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux