Skip to content

perf tools: Small sample parsing speedup

Jiri Olsa lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7perf tools: Reset cursor arg instead of callchain_cursortools/perf/util/machine.c+1 -10 replies
2/7perf tools: Centralize perf_sample initializationtools/perf/util/evsel.c+2 -40 replies
3/7perf tools: Add perf_evlist__parse_sample_timestamp functiontools/perf/util/evlist.c tools/perf/util/evlist.h tools/perf/util/evsel.c +1 more+78 -60 replies
4/7perf tools: Pass timestamp arg in perf_session__queue_eventtools/perf/builtin-kvm.c tools/perf/util/ordered-events.c tools/perf/util/ordered-events.h +2 more+7 -80 replies
5/7perf tools: Optimize sample parsing for ordered eventstools/perf/builtin-kvm.c tools/perf/util/session.c+22 -271 reply
6/7perf tools: Remove perf_tool from event_op2tools/perf/builtin-inject.c tools/perf/builtin-script.c tools/perf/builtin-stat.c +9 more+88 -1190 replies
7/7perf tools: Remove perf_tool from event_op3tools/perf/builtin-inject.c tools/perf/util/auxtrace.c tools/perf/util/auxtrace.h +2 more+12 -180 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 v1 thread

Cover letter [PATCH 0/7] perf tools: Small sample parsing speedup

hi,
sending small speedup fix for sample parsing code
and few assorted fixes.

Also available in:
https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/fixes

thanks,
jirka

---
Jiri Olsa (7):
perf tools: Reset cursor arg instead of callchain_cursor perf tools: Centralize perf_sample initialization perf tools: Add perf_evlist__parse_sample_timestamp function perf tools: Pass timestamp arg in perf_session__queue_event perf tools: Optimize sample parsing for ordered events perf tools: Remove perf_tool from event_op2
perf tools: Remove perf_tool from event_op3

 tools/perf/builtin-inject.c      |  32 ++++++++++++++------------------
 tools/perf/builtin-kvm.c         |   8 ++++----
 tools/perf/builtin-script.c      |  22 ++++++++++------------
 tools/perf/builtin-stat.c        |  23 +++++++++++------------
 tools/perf/util/auxtrace.c       |  17 +++++++----------
 tools/perf/util/auxtrace.h       |  15 ++++++---------
 tools/perf/util/evlist.c         |  11 +++++++++++
 tools/perf/util/evlist.h         |   4 ++++
 tools/perf/util/evsel.c          |  71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
 tools/perf/util/evsel.h          |   4 ++++
 tools/perf/util/header.c         |  16 +++++++---------
 tools/perf/util/header.h         |  15 ++++++---------
 tools/perf/util/machine.c        |   2 +-
 tools/perf/util/ordered-events.c |   3 +--
 tools/perf/util/ordered-events.h |   2 +-
 tools/perf/util/session.c        | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------
 tools/perf/util/session.h        |   7 +++----
 tools/perf/util/stat.c           |   5 ++---
 tools/perf/util/stat.h           |   5 ++---
 tools/perf/util/tool.h           |   7 ++-----
 20 files changed, 208 insertions(+), 181 deletions(-)