From: Leo Yan <leo.yan@arm.com>
To: Yeoreum Yun <yeoreum.yun@arm.com>
Cc: peterz@infradead.org, mingo@redhat.com, mingo@kernel.org,
acme@kernel.org, namhyung@kernel.org, mark.rutland@arm.com,
alexander.shishkin@linux.intel.com, jolsa@kernel.org,
irogers@google.com, adrian.hunter@intel.com,
kan.liang@linux.intel.com, elver@google.com,
james.clark@linaro.org, suzuki.poulose@arm.com,
mike.leach@arm.com, linux-perf-users@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 1/1] events/core: fix failure case for accounting child_total_enable_time at task exit
Date: Thu, 27 Mar 2025 11:03:19 +0000 [thread overview]
Message-ID: <20250327110319.GE604566@e132581.arm.com> (raw)
In-Reply-To: <20250326082003.1630986-1-yeoreum.yun@arm.com>
On Wed, Mar 26, 2025 at 08:20:03AM +0000, Yeoreum Yun wrote:
[...]
> After this patch, this problem is gone like:
>
> sudo ./perf stat -vvv -e armv8_pmuv3_0/event=0x08/ -e armv8_pmuv3_1/event=0x08/ -- stress-ng --pthread=2 -t 10s
> ...
> armv8_pmuv3_0/event=0x08/: 15396770398 32157963940 21898169000
> armv8_pmuv3_1/event=0x08/: 22428964974 32157963940 10259794940
>
> Performance counter stats for 'stress-ng --pthread=2 -t 10s':
>
> 15,396,770,398 armv8_pmuv3_0/event=0x08/ (68.10%)
> 22,428,964,974 armv8_pmuv3_1/event=0x08/ (31.90%)
>
> Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
> Suggested-by: Peter Zijlstra <peterz@infradead.org>
> Fixes: ef54c1a476aef ("perf: Rework perf_event_exit_event()")
Tested-by: Leo Yan <leo.yan@arm.com>
next prev parent reply other threads:[~2025-03-27 11:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-26 8:20 [PATCH v5 1/1] events/core: fix failure case for accounting child_total_enable_time at task exit Yeoreum Yun
2025-03-27 11:03 ` Leo Yan [this message]
2025-03-29 11:31 ` Yeo Reum Yun
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=20250327110319.GE604566@e132581.arm.com \
--to=leo.yan@arm.com \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=elver@google.com \
--cc=irogers@google.com \
--cc=james.clark@linaro.org \
--cc=jolsa@kernel.org \
--cc=kan.liang@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mike.leach@arm.com \
--cc=mingo@kernel.org \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
--cc=suzuki.poulose@arm.com \
--cc=yeoreum.yun@arm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).