perf stat: Replace transaction event possition check with id check
authorJiri Olsa <jolsa@kernel.org>
Wed, 3 Jun 2015 14:25:52 +0000 (16:25 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 8 Jun 2015 13:30:30 +0000 (10:30 -0300)
commit4c358d5cf36192f22b8d331779cb92e3ede9cddf
tree0f9d1e258f73c7680bf1c326bae51ba92c67e8a6
parente2f56da1d6670070f6f55d43007cb7b03ee04c2f
perf stat: Replace transaction event possition check with id check

Using perf_stat::id to check for transaction events, instead of current
position based way.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1433341559-31848-3-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c
tools/perf/util/stat.c
tools/perf/util/stat.h