Re: Tracing of power:power_start events doesn't work

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Robert Schöne
Date: Wednesday, May 12, 2010 - 1:57 am

Am Mittwoch, den 05.05.2010, 07:33 -0700 schrieb Arjan van de Ven:

You're correct for your case (switching to c-state via monitor/mwait).
But the current implementation is broken too. It works only if your
kernel uses processor_idle AND monitor/mwait. For all other cases it
fails - may it be on Ronnys system, that uses IO port based C-states or
my system, that uses cpu_idle (not processor_idle).

I'd suggest, that it should work for IO port based switches and could be
included in the syntactic block of that case.
Afaik, halt means that the processor goes to C1. So in this block, there
could be a power_start event too with 1 as new state. (Maybe there are
problems with AMDs C1E which would be reported as C1.)

Robert





-- 
Robert Schoene
Technische Universitaet Dresden
Zentrum fuer Informationsdienste und Hochleistungsrechnen
01062 Dresden

Tel.: (0351) 463-42483, Fax: (0351) 463-37773
E-Mail: Robert.Schoene@tu-dresden.de

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

Messages in current thread:
Tracing of power:power_start events doesn't work, Ronny Tschüter, (Mon May 3, 6:19 am)
Re: Tracing of power:power_start events doesn't work, Frank Ch. Eigler, (Mon May 3, 2:36 pm)
Re: Tracing of power:power_start events doesn't work, Steven Rostedt, (Tue May 4, 5:31 pm)
Re: Tracing of power:power_start events doesn't work, Ronny Tschüter, (Tue May 4, 11:34 pm)
Re: Tracing of power:power_start events doesn't work, Ronny Tschüter, (Wed May 5, 7:11 am)
Re: Tracing of power:power_start events doesn't work, Steven Rostedt, (Wed May 5, 7:31 am)
Re: Tracing of power:power_start events doesn't work, Arjan van de Ven, (Wed May 5, 7:33 am)
Re: Tracing of power:power_start events doesn't work, Frederic Weisbecker, (Wed May 5, 10:23 am)
Re: Tracing of power:power_start events doesn't work, Ronny Tschüter, (Wed May 5, 11:32 pm)
Re: Tracing of power:power_start events doesn't work, Robert Schöne, (Wed May 12, 1:57 am)
Re: Tracing of power:power_start events doesn't work, Ronny Tschüter, (Fri Jun 11, 3:26 am)
Tracing of power:power_start events doesn't work, Ronny Tschüter, (Tue Jun 29, 7:49 am)