Re: PATCH] ftrace: Add a C/P state tracer to help power optimization

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steven Rostedt
Date: Monday, October 27, 2008 - 1:13 pm

On Mon, 27 Oct 2008, Frank Ch. Eigler wrote:


Yeah, this should be converted to a trace_point. See include/trace/sched.h 
for examples.

The users are in kernel/sched.c.  Just add "trace_" in front of the names 
to find the users. Then you can look at kernel/trace/trace_sched_switch.c 
to see an example on how to hook into it.

-- Steve

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: PATCH] ftrace: Add a C/P state tracer to help power op ..., Arjan van de Ven, (Mon Oct 27, 11:05 am)
Re: PATCH] ftrace: Add a C/P state tracer to help power op ..., Frank Ch. Eigler, (Mon Oct 27, 12:47 pm)
Re: PATCH] ftrace: Add a C/P state tracer to help power op ..., Steven Rostedt, (Mon Oct 27, 1:13 pm)
Re: PATCH] ftrace: Add a C/P state tracer to help power op ..., Frederic Weisbecker, (Tue Feb 10, 2:26 pm)