]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Use fallback for sample_addr_correlates_sym() cases
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 6 Nov 2018 21:07:11 +0000 (23:07 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Dec 2018 17:54:16 +0000 (14:54 -0300)
commitcf757cb6e8c19dfdf4e0d9403dcde54a50cf5398
treee28dd19d71843f1e889fd8b5396bb282071ab723
parent4b632dc3acd41f010dcd4d36f1aa0d4ac785333d
perf tools: Use fallback for sample_addr_correlates_sym() cases

thread__resolve() is used in the sample_addr_correlates_sym() cases
where 'addr' is a destination of a branch which does not necessarily
have the same cpumode as the 'ip'. Use the fallback function in that
case.

This patch depends on patch "perf tools: Add fallback functions for
cases where cpumode is insufficient".

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: stable@vger.kernel.org # 4.19
Link: http://lkml.kernel.org/r/20181106210712.12098-3-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/event.c