Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1216374
| From | Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] perf, tools: Make alias matching case-insensitive |
| Date | 2015-08-31 21:00 +0200 |
| Message-ID | <q3Ctb-7T0-3@gated-at.bofh.it> (permalink) |
| References | <q2zH4-7az-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Andi Kleen [andi@firstfloor.org] wrote: | From: Andi Kleen <ak@linux.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@linux.intel.com> Tested-by: Sukadev Bhattiprolu <sukadev@linux.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] perf, tools: Make alias matching case-insensitive Andi Kleen <andi@firstfloor.org> - 2015-08-28 23:50 +0200 Re: [PATCH] perf, tools: Make alias matching case-insensitive Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> - 2015-08-31 21:00 +0200
csiph-web