perf tools: Split term type into value type and term type
authorJiri Olsa <jolsa@redhat.com>
Wed, 25 Apr 2012 16:24:57 +0000 (18:24 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 18 May 2012 15:15:32 +0000 (12:15 -0300)
commit16fa7e8200fb9066b77a3f27cbed8e4a9fc71998
treed1454e844fe5b40389970995830f6eaabbe51c86
parenta0187060f4ab68cf1aa533446b906cae5b14eb48
perf tools: Split term type into value type and term type

Introducing type_val and type_term for term instead of a single type
value. Currently the term type marked out the value type as well.

With this change we can have future string term values being specified
by user and translated into proper number along the processing.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1335371102-11358-2-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-events.c
tools/perf/util/parse-events.h
tools/perf/util/parse-events.y
tools/perf/util/pmu.c