perf stat: Don't use ctx for saved values lookup
authorAndi Kleen <ak@linux.intel.com>
Thu, 31 Aug 2017 19:40:33 +0000 (12:40 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 13 Sep 2017 12:49:13 +0000 (09:49 -0300)
commit4e1a096380e3b558ef021afc08e193ce5d1be478
treeadad5538ebb995404e96c5c0f8ef75b2e8881bb5
parent71b0acce78d12e99eeda6fd6642ba89cc2b2b49c
perf stat: Don't use ctx for saved values lookup

We don't need to use ctx to look up events for saved values.  The
context is already part of the evsel pointer, which is the primary key.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20170831194036.30146-9-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/stat-shadow.c