Linux Perf Users
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: lirongqing <lirongqing@baidu.com>, linux-perf-users@vger.kernel.org
Subject: Re: [PATCH] perf tests x86: Fail the topdown test when event iteration fails
Date: Thu, 03 Dec 2026 11:47:49 +0000	[thread overview]
Message-ID: <sashiko-outbox-247680@kernel.org> (raw)
In-Reply-To: <20261203114335.1776-1-lirongqing@baidu.com>

> From: Li RongQing <lirongqing@baidu.com>
> 
> The event callback returns -ENOMEM if it cannot allocate an evlist,
> without updating the test result. The caller only breaks the PMU loop
> on an iteration error and can return its initial TEST_OK value despite
> having aborted the checks.
> 
> Return TEST_FAIL when iteration fails, retaining the callback result
> for successful iterations. Identified and fixed with Comate assistance.
> 
> Fixes: 5b546de9cc17 ("perf topdown: Use attribute to see an event is a topdown metic or slots")
> Signed-off-by: Li RongQing <lirongqing@baidu.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203114335.1776-1-lirongqing@baidu.com?part=1

      reply	other threads:[~2026-12-03 11:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 11:43 [PATCH] perf tests x86: Fail the topdown test when event iteration fails lirongqing
2026-12-03 11:47 ` sashiko-bot [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=sashiko-outbox-247680@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=lirongqing@baidu.com \
    --cc=sashiko-reviews@lists.linux.dev \
    /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