lkml.org 
[lkml]   [2018]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/5] perf tools: Fix for cases where cpumode is incorrect or insufficient
On Wed, Oct 31, 2018 at 11:10:38AM +0200, Adrian Hunter wrote:
> Hi
>
> These patches probably deal with most cases except the one fixed by David
> Miller's "perf callchain: Honour the ordering of
> PERF_CONTEXT_{USER,KERNEL,etc}" patch, and also cat_backtrace() which looks
> like it has the same problem, and the cs-etm fix.
>
>
> Adrian Hunter (5):
> perf tools: Add fallback functions for cases where cpumode is insufficient
> perf tools: Use fallback for sample_addr_correlates_sym() cases
> perf tools: Use fallbacks for branch stacks
> perf intel-pt: Insert callchain context into synthesized callchains
> perf intel-pt/bts: Calculate cpumode for synthesized samples

Reviewed-by: Jiri Olsa <jolsa@kernel.org>

thanks,
jirka

>
> tools/perf/builtin-script.c | 12 +++---
> tools/perf/util/event.c | 29 +++++++++++++-
> tools/perf/util/intel-bts.c | 17 ++++++---
> tools/perf/util/intel-pt.c | 28 ++++++++------
> tools/perf/util/machine.c | 40 ++++++++++++++++++++
> tools/perf/util/machine.h | 2 +
> .../util/scripting-engines/trace-event-python.c | 16 ++++----
> tools/perf/util/thread-stack.c | 44 +++++++++++++++++-----
> tools/perf/util/thread-stack.h | 2 +-
> tools/perf/util/thread.h | 4 ++
> 10 files changed, 153 insertions(+), 41 deletions(-)
>
>
> Regards
> Adrian

\
 
 \ /
  Last update: 2018-10-31 14:36    [W:0.147 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site