Skip to content

perf tools: Fix branch report segfaults

Jiri Olsa lkml 2 versions Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 3 repliesApplied
  2. v17 patches 0 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7perf tools: Fix report -F abort for data without branch infotools/perf/util/sort.c+11 -30 replies
2/7perf tools: Fix report -F in_tx for data without branch infotools/perf/util/sort.c+10 -30 replies
3/7perf tools: Fix report -F mispredict for data without branch infotools/perf/util/sort.c+12 -80 replies
4/7perf tools: Fix report -F symbol_to for data without branch infotools/perf/util/sort.c+14 -50 replies
5/7perf tools: Fix report -F symbol_from for data without branch infotools/perf/util/sort.c+13 -30 replies
6/7perf tools: Fix report -F dso_to for data without branch infotools/perf/util/sort.c+8 -20 replies
7/7perf tools: Fix report -F dso_from for data without branch infotools/perf/util/sort.c+8 -20 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNamhyung Kim
SeriesA-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCHv2 0/7] perf tools: Fix branch report segfaults

hi,
adding some branch_info checks to prevent segfaults on data without branch info.

v2: using cmp_null as suggested by Namhyung

jirka

available at:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/abort_fix_2

Cc Andi Kleen <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Corey Ashford <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
 tools/perf/util/sort.c | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 76 insertions(+), 26 deletions(-)