Andi Kleen [[email protected]] wrote:
| From: Andi Kleen <[email protected]>
|
| 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 <[email protected]>
Tested-by: Sukadev Bhattiprolu <[email protected]>
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/