From: Kevin Hilman <khilman@deeprootsystems.com>
To: Jean Pihet <jean.pihet@newoldbits.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] OMAP2: add cpuidle and cpufreq events tracing
Date: Thu, 26 Aug 2010 17:01:45 -0700 [thread overview]
Message-ID: <87iq2wsz2u.fsf@deeprootsystems.com> (raw)
In-Reply-To: <AANLkTiknAXe4SNavZpwSVY__v4bRTiWZEA5NxMMi5y10@mail.gmail.com> (Jean Pihet's message of "Thu, 26 Aug 2010 18:56:04 +0200")
Jean Pihet <jean.pihet@newoldbits.com> writes:
> Hi Kevin,
>
> On Wed, Aug 25, 2010 at 8:22 PM, Kevin Hilman
> <khilman@deeprootsystems.com> wrote:
>> Hi Jean,
>>
>> Jean Pihet <jean.pihet@newoldbits.com> writes:
>>
> ...
>>
>>> Add the cpuidle power_start and power_end events. The state
>>> parameter of power_start has the following meaning:
>>> - -1: from the suspend handler (omap3_pm_suspend),
>>> - 1: from the default idle handler (omap3_pm_idle),
>>> - other values are the C-states from the cpuidle handler
>>> (omap3_enter_idle).
>>
>> Are these definitions standard across other arches too? The use of
>> POWER_CSTATE from supend seems less than intuitive.
> Only x86 is using those events, and only for idle (values >= 0).
> I have added -1 to differentiate the suspend from the regular idle but
> it sems that it is not the best option.
> Is a new type of power event more suited, e.g. POWER_SSTATE? If so I
> will have to add it in the event definition header (in
> include/trace/events/power.h) and the patch will be submitted to LKML.
Yes, I think a new event is probably more appropriate, but should be
discussed on LKML.
Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-08-27 0:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-25 15:21 [PATCH] OMAP2: add cpuidle and cpufreq events tracing Jean Pihet
2010-08-25 18:22 ` Kevin Hilman
2010-08-26 16:56 ` Jean Pihet
2010-08-27 0:01 ` Kevin Hilman [this message]
2010-08-30 13:08 ` Jean Pihet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iq2wsz2u.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=jean.pihet@newoldbits.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.