[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090701082457.GB25593@elte.hu>
Date: Wed, 1 Jul 2009 10:24:57 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Paul Mackerras <paulus@...ba.org>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
linux-kernel@...r.kernel.org,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Mike Galbraith <efault@....de>,
Thomas Gleixner <tglx@...utronix.de>,
Frédéric Weisbecker <fweisbec@...il.com>
Subject: Re: [PATCH] perf_counter: tools: Rework event parsing
* Paul Mackerras <paulus@...ba.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
--
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