Skip to content

perf record: Preparation for sideband injection

Adrian Hunter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5perf record: Always get text_poke events with --kcore optiontools/perf/builtin-record.c+3 -00 replies
2/5perf record: Always record id indextools/perf/builtin-record.c tools/perf/util/synthetic-events.c+10 -90 replies
3/5perf record: Add new option to sample identifiertools/perf/Documentation/perf-record.txt tools/perf/builtin-record.c tools/perf/util/record.c +1 more+7 -12 replies
4/5perf record: Add finished init eventtools/lib/perf/include/perf/event.h tools/perf/builtin-inject.c tools/perf/builtin-record.c +3 more+36 -14 replies
5/5perf script: Add some missing event dumpstools/perf/builtin-script.c tools/perf/util/header.c+9 -00 replies

Reviews trailers per patch

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

PatchIan Rogers
SeriesA-b
1/5
2/5
3/5
4/5
5/5

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/5] perf record: Preparation for sideband injection

Hi

Here are some small patches in preparation for "sideband injection".

I hope to run perf record in a virtual machine to capture sideband events while simulataneously running perf record with Intel PT on the host, and then subsequently inject the sideband events from the guest perf.data file into the host perf.data file, so that decoding can decode the Intel PT trace for the periods when the guest is running user space (kernel space is already decodable).

The patches are changes I have found so far that will be needed.

Adrian Hunter (5):
perf record: Always get text_poke events with --kcore option perf record: Always record id index
perf record: Add new option to sample identifier perf record: Add finished init event
perf script: Add some missing event dumps

 tools/lib/perf/include/perf/event.h      |  1 +
 tools/perf/Documentation/perf-record.txt |  3 +++
 tools/perf/builtin-inject.c              |  1 +
 tools/perf/builtin-record.c              | 44 +++++++++++++++++++++++++++-----
 tools/perf/builtin-script.c              |  6 +++++
 tools/perf/util/event.c                  |  1 +
 tools/perf/util/header.c                 |  3 +++
 tools/perf/util/record.c                 |  2 +-
 tools/perf/util/record.h                 |  1 +
 tools/perf/util/session.c                |  4 +++
 tools/perf/util/synthetic-events.c       |  7 +++--
 tools/perf/util/tool.h                   |  3 ++-
 12 files changed, 65 insertions(+), 11 deletions(-)

Regards
Adrian