perf tools: Allow period= in perf stat CPU event descriptions.
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Thu, 15 Sep 2016 22:24:56 +0000 (15:24 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Oct 2016 00:50:56 +0000 (21:50 -0300)
commit06835545b144cab6e7748748576145ea15f68dff
tree2c1808cc49141f21bd04f7354dd39adc391a5d49
parent06d839b4f712065d76cba92e7e10e9d771771c5a
perf tools: Allow period= in perf stat CPU event descriptions.

This avoids the JSON PMU events parser having to know whether its
aliases are for perf stat or perf record.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lkml.kernel.org/r/1473978296-20712-20-git-send-email-sukadev@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-events.c