lkml.org 
[lkml]   [2008]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ftrace: Add a C/P state tracer to help power optimization

* Frédéric Weisbecker <fweisbec@gmail.com> wrote:

> That looks good...

[...]
>
> Just for curiosity, do you have an example of trace and/or graph
> from this tracer?

Output looks like this:

# tracer: power
#
# TASK-PID CPU# TIMESTAMP FUNCTION
# | | | | |
[ 54.698035123] CSTATE: Going to C1 on cpu 0 for 0.000022629
[ 54.698059987] CSTATE: Going to C1 on cpu 0 for 0.000074032
[ 54.698191011] CSTATE: Going to C1 on cpu 0 for 0.000134655
[ 54.698327901] CSTATE: Going to C1 on cpu 0 for 0.000276017
[ 54.699178020] CSTATE: Going to C1 on cpu 8 for 0.001454114
[ 54.698138489] CSTATE: Going to C1 on cpu 5 for 0.002507334
[ 54.699079124] CSTATE: Going to C1 on cpu 4 for 0.001611677
[ 54.698605873] CSTATE: Going to C1 on cpu 0 for 0.003998045
[ 54.700276498] CSTATE: Going to C1 on cpu 10 for 0.003994971
[ 54.700636045] CSTATE: Going to C1 on cpu 6 for 0.003993295
[ 54.700637442] CSTATE: Going to C1 on cpu 2 for 0.003993295
[ 54.700634648] CSTATE: Going to C1 on cpu 8 for 0.003998883

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-11-26 08:39    [W:0.058 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site