From: "Jin, Yao" <yao.jin@linux.intel.com>
To: Andi Kleen <ak@linux.intel.com>
Cc: acme@kernel.org, jolsa@kernel.org, peterz@infradead.org,
mingo@redhat.com, alexander.shishkin@linux.intel.com,
Linux-kernel@vger.kernel.org, kan.liang@intel.com,
yao.jin@intel.com
Subject: Re: [PATCH] perf pmu: Validate raw event with sysfs exported format bits
Date: Fri, 5 Mar 2021 12:32:04 +0800 [thread overview]
Message-ID: <65062a3c-91ae-7527-e980-83ea58a6bfe1@linux.intel.com> (raw)
In-Reply-To: <20210305011018.GL472138@tassilo.jf.intel.com>
Hi Andi,
On 3/5/2021 9:10 AM, Andi Kleen wrote:
>> Single event:
>>
>> # ./perf stat -e cpu/r031234/ -a -- sleep 1
>> WARNING: event config '31234' not valid (bits 16 17 not supported by kernel)!
>
> Just noticed that again. Can you please print the original event as
> string in the message? While it's obvious with rXXX which one it is,
> it may not be obvious with offsetted fields (like umask=0x121212),
> and hard to find in a long command line.
>
> -Andi
>
Sometime the event name is NULL. In v2, if the event name is not NULL, I will print the event name.
Thanks
Jin Yao
prev parent reply other threads:[~2021-03-05 4:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-03 5:17 Jin Yao
2021-03-04 20:17 ` Jiri Olsa
2021-03-05 4:28 ` Jin, Yao
2021-03-05 1:10 ` Andi Kleen
2021-03-05 4:32 ` Jin, Yao [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=65062a3c-91ae-7527-e980-83ea58a6bfe1@linux.intel.com \
--to=yao.jin@linux.intel.com \
--cc=Linux-kernel@vger.kernel.org \
--cc=acme@kernel.org \
--cc=ak@linux.intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=jolsa@kernel.org \
--cc=kan.liang@intel.com \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=yao.jin@intel.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
Powered by JetHome