]> 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)
commit257a2368ae41a95bf8bc261a2f7e2a368123ff8e
treed1454e844fe5b40389970995830f6eaabbe51c86
parent4695b2dcf3d7ccaa69676c232b52ca3ee003d4c8
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