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: <20150831185425.GB31119@us.ibm.com>
Date:	Mon, 31 Aug 2015 11:54:25 -0700
From:	Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	acme@...nel.org, linux-kernel@...r.kernel.org,
	Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH] perf, tools: Make alias matching case-insensitive

Andi Kleen [andi@...stfloor.org] wrote:
| From: Andi Kleen <ak@...ux.intel.com>
| 
| Make alias matching the events parser case-insensitive. This is useful
| with the JSON events. perf uses lower case events, but the CPU manuals
| generally use upper case event names. The JSON files use lower
| case by default too. But if we search case insensitively then
| users can cut-n-paste the upper case event names.
| 
| So the following works:
| 
| % perf stat -e BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL true
| 
|  Performance counter stats for 'true':
| 
|                305      BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL
| 
|        0.000492799 seconds time elapsed
| 
| Signed-off-by: Andi Kleen <ak@...ux.intel.com>
Tested-by: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>

I have also pushed this to 'json-v16' branch of my github tree:

	https://github.com/sukadev/linux

Sukadev

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ