All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Madhavan Srinivasan <maddy@linux.ibm.com>, mpe@ellerman.id.au
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] powerpc/perf: Update MMCR2 to support event exclude_idle
Date: Mon, 04 Jul 2022 21:34:02 +1000	[thread overview]
Message-ID: <165693444269.9954.4761798275894011090.b4-ty@ellerman.id.au> (raw)
In-Reply-To: <20210429050208.266619-1-maddy@linux.ibm.com>

On Thu, 29 Apr 2021 10:32:08 +0530, Madhavan Srinivasan wrote:
> struct perf_event_attr supports exclude counting of idle task.
> This is sent to kernel via perf_event_attr.exclude_idle and
> in perf tool, user can use ":I" event modifier to enable this
> for specific event.
> 
> Monitor Mode Control Register 2 (MMCR2) SPR has control bits
> for each PMCs to freeze counting based on the Control Register
> CTRL[RUN] state. CTRL[RUN] is not set when idle task is
> running. Patch adds a check for event attr.exclude_idle to
> set MMCR2[FCnWAIT] bit.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/perf: Update MMCR2 to support event exclude_idle
      https://git.kernel.org/powerpc/c/5969e0c1c7e2132d8b2cf80168072b1195ddce46

cheers

      reply	other threads:[~2022-07-04 11:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-29  5:02 [PATCH] powerpc/perf: Update MMCR2 to support event exclude_idle Madhavan Srinivasan
2022-07-04 11:34 ` Michael Ellerman [this message]

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=165693444269.9954.4761798275894011090.b4-ty@ellerman.id.au \
    --to=patch-notifications@ellerman.id.au \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maddy@linux.ibm.com \
    --cc=mpe@ellerman.id.au \
    /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.