lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <65062a3c-91ae-7527-e980-83ea58a6bfe1@linux.intel.com>
Date:   Fri, 5 Mar 2021 12:32:04 +0800
From:   "Jin, Yao" <yao.jin@...ux.intel.com>
To:     Andi Kleen <ak@...ux.intel.com>
Cc:     acme@...nel.org, jolsa@...nel.org, peterz@...radead.org,
        mingo@...hat.com, alexander.shishkin@...ux.intel.com,
        Linux-kernel@...r.kernel.org, kan.liang@...el.com,
        yao.jin@...el.com
Subject: Re: [PATCH] perf pmu: Validate raw event with sysfs exported format
 bits

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ