]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - tools/perf/util/scripting-engines/trace-event-python.c
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)
commit692d0e63324d2954a0c63a812a8588e97023a295
tree8ef1288c447d72eb487de7ced7d7f99d041767c6
parent225f99e0c811e23836c4911a2ff147e167dd1fe8
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