linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Liang, Kan" <kan.liang@linux.intel.com>
To: laksono <laksono@gmail.com>, Namhyung Kim <namhyung@kernel.org>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: Intel SPR: perf-record doesn't support topdown events?
Date: Wed, 30 Oct 2024 08:57:19 -0400	[thread overview]
Message-ID: <70f80f3a-caa6-4c30-ada7-a10af12c79b8@linux.intel.com> (raw)
In-Reply-To: <CALwKgupNAgc_jEinqsYmH_n-u_JsSOrjmY9k-33VAVrVVL3M=w@mail.gmail.com>



On 2024-10-29 9:00 p.m., laksono wrote:
> Hi Namhyung
> 
> On Tue, Oct 29, 2024 at 7:02 PM Namhyung Kim <namhyung@kernel.org> wrote:
>>
>> I guess you need the leader sampling with 'S' modifier.
>>
>>   $ perf record -e '{slots,topdown-be-bound}:S' ...
>>
> Unfortunately, it doesn't work for me:

The issue should have been fixed by the below patch set.
https://lore.kernel.org/lkml/20240913084712.13861-1-dapeng1.mi@linux.intel.com/

You may have to use the latest perf-tools-next branch.

Thanks,
Kan
> 
> $ perf record -e '{slots,topdown-be-bound}:S'  ...
> Error:
> The sys_perf_event_open() syscall returned with 22 (Invalid argument)
> for event (topdown-be-bound).
> /bin/dmesg | grep -i perf may provide additional information.
> 
> Regards
> 
> Laksono
> 


      reply	other threads:[~2024-10-30 12:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-22 16:40 Intel SPR: perf-record doesn't support topdown events? laksono
2024-10-30  0:02 ` Namhyung Kim
2024-10-30  1:00   ` laksono
2024-10-30 12:57     ` Liang, Kan [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=70f80f3a-caa6-4c30-ada7-a10af12c79b8@linux.intel.com \
    --to=kan.liang@linux.intel.com \
    --cc=laksono@gmail.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=namhyung@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 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).