perf stat: Define MATCH_EVENT for easy attr checking
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Wed, 1 Jul 2009 09:35:09 +0000 (15:05 +0530)
committerIngo Molnar <mingo@elte.hu>
Wed, 1 Jul 2009 11:28:38 +0000 (13:28 +0200)
commitb9ebdcc0ce1c676ebf5dc4f6df6b440d8fcf88ab
tree2109021ca380f0e979b4427908acce95e994fccc
parentf37a291c527c954df4da568de718ebb36b8261c0
perf stat: Define MATCH_EVENT for easy attr checking

MATCH_EVENT is useful:

 1. for multiple attrs checking
 2. avoid repetition of PERF_TYPE_ and PERF_COUNT_ and save space
 3. avoids line breakage

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1246440909.3403.5.camel@hpdv5.satnam>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-stat.c