Skip to content

perf tools: Assorted fixes

Jiri Olsa lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9perf tools: Fix crash in perf_hpp__reset_output_fieldtools/perf/ui/hist.c+1 -10 replies
2/9perf tools: Add extra integrity checks to fmt_freetools/perf/ui/hist.c+7 -00 replies
3/9perf tools: Rename struct perf_data_file to perf_datatools/perf/builtin-annotate.c tools/perf/builtin-buildid-cache.c tools/perf/builtin-buildid-list.c +27 more+235 -2350 replies
4/9perf tools: Add struct perf_data_filetools/perf/builtin-annotate.c tools/perf/builtin-buildid-cache.c tools/perf/builtin-buildid-list.c +20 more+126 -960 replies
5/9perf tools: Add perf_data_file__write functiontools/perf/util/data.c tools/perf/util/data.h+9 -10 replies
6/9perf stat: Move the shadow stats scale computation in perf_stat__update_shadow_statstools/perf/builtin-stat.c tools/perf/util/stat-shadow.c tools/perf/util/stat.c +1 more+29 -300 replies
7/9perf stat: Make --per-thread update shadow stats to show metricstools/perf/util/stat.c+2 -00 replies
8/9perf tools: Check wether the eBPF file exists in event parsingtools/perf/util/parse-events.l+15 -20 replies
9/9perf tools: Unwind properly location after REJECTtools/perf/util/parse-events.l+6 -23 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by.

PatchAndi Kleen
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9T-b
9/9T-b T-b

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

Read the v1 thread

Cover letter [PATCH 0/9] perf tools: Assorted fixes

hi,
sending few fixes that pilled up.

It's also available at:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/fixes

thanks,
jirka

---
Jiri Olsa (9):
perf tools: Fix crash in perf_hpp__reset_output_field
perf tools: Add extra integrity checks to fmt_free
perf tools: Rename struct perf_data_file to perf_data
perf tools: Add struct perf_data_file
perf tools: Add perf_data_file__write function
perf stat: Move the shadow stats scale computation in perf_stat__update_shadow_stats perf stat: Make --per-thread update shadow stats to show metrics
perf tools: Check wether the eBPF file exists in event parsing
perf tools: Unwind properly location after REJECT

 tools/perf/builtin-annotate.c      | 10 +++++-----
 tools/perf/builtin-buildid-cache.c |  8 ++++----
 tools/perf/builtin-buildid-list.c  | 16 +++++++++-------
 tools/perf/builtin-c2c.c           | 10 +++++-----
 tools/perf/builtin-diff.c          | 18 +++++++++---------
 tools/perf/builtin-evlist.c        | 12 +++++++-----
 tools/perf/builtin-inject.c        | 36 +++++++++++++++++++-----------------
 tools/perf/builtin-kmem.c          |  8 ++++----
 tools/perf/builtin-kvm.c           | 14 ++++++++------
 tools/perf/builtin-lock.c          | 12 +++++++-----
 tools/perf/builtin-mem.c           | 12 +++++++-----
 tools/perf/builtin-record.c        | 50 +++++++++++++++++++++++++-------------------------
 tools/perf/builtin-report.c        | 14 +++++++-------
 tools/perf/builtin-sched.c         | 24 ++++++++++++++----------
 tools/perf/builtin-script.c        | 20 +++++++++++---------
 tools/perf/builtin-stat.c          | 35 +++++++++++++++++------------------
 tools/perf/builtin-timechart.c     | 14 ++++++++------
 tools/perf/builtin-trace.c         | 12 +++++++-----
 tools/perf/tests/topology.c        | 22 +++++++++++++---------
 tools/perf/ui/hist.c               |  9 ++++++++-
 tools/perf/util/auxtrace.c         |  4 ++--
 tools/perf/util/data-convert-bt.c  | 12 ++++++------
 tools/perf/util/data.c             | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------
 tools/perf/util/data.h             | 38 ++++++++++++++++++++++----------------
 tools/perf/util/header.c           | 20 ++++++++++----------
 tools/perf/util/intel-bts.c        |  6 +++---
 tools/perf/util/intel-pt.c         |  6 +++---
 tools/perf/util/jit.h              |  2 +-
 tools/perf/util/jitdump.c          | 10 +++++-----
 tools/perf/util/parse-events.l     | 25 +++++++++++++++++++++----
 tools/perf/util/session.c          | 44 ++++++++++++++++++++++----------------------
 tools/perf/util/session.h          |  4 ++--
 tools/perf/util/stat-shadow.c      | 48 +++++++++++++++++++++++++-----------------------
 tools/perf/util/stat.c             |  8 ++++----
 tools/perf/util/stat.h             |  2 +-
 35 files changed, 371 insertions(+), 308 deletions(-)