]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit76ac66540ac9c5ec0c6c857956ec560ba3087196
treed1454e844fe5b40389970995830f6eaabbe51c86
parentba2af35ce7f4cf67116e04ddf7baf9aa4d8d8d2f
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