mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Paul Mackerras <paulus@samba.org>
Cc: "Peter Zijlstra" <a.p.zijlstra@chello.nl>,
	linux-kernel@vger.kernel.org,
	"Arnaldo Carvalho de Melo" <acme@redhat.com>,
	"Mike Galbraith" <efault@gmx.de>,
	"Thomas Gleixner" <tglx@linutronix.de>,
	"Frédéric Weisbecker" <fweisbec@gmail.com>
Subject: Re: [PATCH] perf_counter: tools: Rework event parsing
Date: Wed, 1 Jul 2009 10:24:57 +0200	[thread overview]
Message-ID: <20090701082457.GB25593@elte.hu> (raw)
In-Reply-To: <19018.53826.843815.189847@cargo.ozlabs.ibm.com>


* Paul Mackerras <paulus@samba.org> wrote:

> This reworks the parser for event descriptors to make it more
> consistent in what it accepts.  It is now structured as a recursive
> descent parser for the following grammar:
> 
> events		::= event ( ("," | space) space* event )*
> event		::= ( raw_event | numeric_event | symbolic_event |
> 		      generic_hw_event ) [ event_modifier ]
> raw_event	::= "r" hex_number
> numeric_event	::= number ":" number
> number		::= decimal_number | "0x" hex_number | "0" octal_number
> symbolic_event	::= string_from_event_symbols_array
> generic_hw_event::= cache_type ( "-" ( cache_op | cache_result ) )*
> event_modifier	::= ":" ( "u" | "k" | "h" )+

Very nice changes, thanks Paul!

	Ingo

  reply	other threads:[~2009-07-01  8:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-01  3:04 Paul Mackerras
2009-07-01  8:24 ` Ingo Molnar [this message]
2009-07-01  8:47 ` [tip:perfcounters/urgent] perf_counter tools: Rework event string parsing/syntax tip-bot for Paul Mackerras

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=20090701082457.GB25593@elte.hu \
    --to=mingo@elte.hu \
    --cc=a.p.zijlstra@chello.nl \
    --cc=acme@redhat.com \
    --cc=efault@gmx.de \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulus@samba.org \
    --cc=tglx@linutronix.de \
    /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®