mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: acme@kernel.org, linux-kernel@vger.kernel.org,
	Andi Kleen <ak@linux.intel.com>
Subject: Re: [PATCH] perf, tools: Make alias matching case-insensitive
Date: Mon, 31 Aug 2015 11:54:25 -0700	[thread overview]
Message-ID: <20150831185425.GB31119@us.ibm.com> (raw)
In-Reply-To: <1440798220-4557-1-git-send-email-andi@firstfloor.org>

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


      reply	other threads:[~2015-08-31 18:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-28 21:43 Andi Kleen
2015-08-31 18:54 ` Sukadev Bhattiprolu [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=20150831185425.GB31119@us.ibm.com \
    --to=sukadev@linux.vnet.ibm.com \
    --cc=acme@kernel.org \
    --cc=ak@linux.intel.com \
    --cc=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®