Re: logging process scheduling stats

2009-04-09 Thread Sukanto Ghosh
Two more possibly useful information: $ grep '^config' kernel/trace/Kconfig config HAVE_FTRACE config HAVE_DYNAMIC_FTRACE config TRACER_MAX_TRACE config TRACING config FTRACE config IRQSOFF_TRACER config PREEMPT_TRACER config SYSPROF_TRACER config SCHED_TRACER config CONTEXT_SWITCH_TRACER config

Re: logging process scheduling stats

2009-04-09 Thread Mulyadi Santosa
On Thu, Apr 9, 2009 at 4:18 PM, Sukanto Ghosh wrote: > Hi Pradeep, > > Seems like it might serve my purpose ... a very useful one .. But I > didn't find how to configure it in the kernel ... I mean the kernel > config option or what menu in 'make menuconfig' And don't forget to read this LWN page

Re: logging process scheduling stats

2009-04-09 Thread Sharwan Joram
You need to configure you kernel with CONFIG_FUNCTION_TRACER enabled. ~Sharwan On Thu, Apr 9, 2009 at 2:48 PM, Sukanto Ghosh wrote: > Hi Pradeep, > > Seems like it might serve my purpose ... a very useful one .. But I > didn't find how to configure it in the kernel ... I mean the kernel > confi

Re: logging process scheduling stats

2009-04-09 Thread Sukanto Ghosh
Hi Pradeep, Seems like it might serve my purpose ... a very useful one .. But I didn't find how to configure it in the kernel ... I mean the kernel config option or what menu in 'make menuconfig' Thanks and Regards, Sukanto On Wed, Apr 8, 2009 at 5:56 PM, pradeep singh wrote: > Not sure, if i

Re: logging process scheduling stats

2009-04-08 Thread pradeep singh
Not sure, if it will help you or not but did you look at ftrace? Thanks, --Pradeep On Wed, Apr 8, 2009 at 3:29 PM, Sukanto Ghosh wrote: > Hi, > > I want to log the following activities with timestamps - *as precisely > as possible* : > i.    enqueuing of a process > ii.   dequeuing of

logging process scheduling stats

2009-04-08 Thread Sukanto Ghosh
Hi, I want to log the following activities with timestamps - *as precisely as possible* : i.enqueuing of a process ii. dequeuing of a process iii. a process starts executing on cpu iv. a process is preempted/yeilds the cpu What is the best (precise, efficient and easy) way of doing so ?