perf tools: Add location to pmu event terms
authorJiri Olsa <jolsa@kernel.org>
Wed, 22 Apr 2015 19:10:20 +0000 (21:10 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 29 Apr 2015 13:38:00 +0000 (10:38 -0300)
commitcecf3a2e185c1d843428166d644ba3b564231293
treedf5d323aca83113be2370279d3531e2669d75bc0
parent36adec85a86f2daa521cda48ea7be8a95c20ed10
perf tools: Add location to pmu event terms

Saving the terms location within term struct, so it could be used later
for report.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1429729824-13932-6-git-send-email-jolsa@kernel.org
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