]> git.baikalelectronics.ru Git - kernel.git/commit
perf script: Use fallbacks for branch stacks
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 6 Nov 2018 21:07:12 +0000 (23:07 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Dec 2018 17:54:18 +0000 (14:54 -0300)
commit6513e57e0320b9829989a88cddc3cbfaa07c0891
tree8ef1288c447d72eb487de7ced7d7f99d041767c6
parentcf757cb6e8c19dfdf4e0d9403dcde54a50cf5398
perf script: Use fallbacks for branch stacks

Branch stacks do not necessarily have the same cpumode as the 'ip'. Use
the fallback functions in those cases.

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-4-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c
tools/perf/util/scripting-engines/trace-event-python.c