Skip to content

RFC perf record: Put a copy of kcore into the perf.data directory

Adrian Hunter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf tools: Support single perf.data file directorytools/perf/builtin-record.c tools/perf/util/data.c tools/perf/util/data.h +3 more+37 -125 replies
2/2perf record: Put a copy of kcore into the perf.data directorytools/perf/Documentation/perf-record.txt tools/perf/builtin-record.c tools/perf/util/data.c +4 more+112 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/2] perf record: Put a copy of kcore into the perf.data directory

Hi

Here are 2 patches to add an option to 'perf record' to put a copy of kcore into a directory with perf.data. Refer to patch 2 for an example.

Adrian Hunter (2):
perf tools: Support single perf.data file directory perf record: Put a copy of kcore into the perf.data directory

 tools/perf/Documentation/perf-record.txt |  3 ++
 tools/perf/builtin-record.c              | 54 +++++++++++++++++++++++-
 tools/perf/util/data.c                   | 70 +++++++++++++++++++++++++++-----
 tools/perf/util/data.h                   |  8 ++++
 tools/perf/util/header.h                 |  1 +
 tools/perf/util/record.h                 |  1 +
 tools/perf/util/session.c                |  6 ++-
 tools/perf/util/util.c                   | 18 ++++++++
 8 files changed, 149 insertions(+), 12 deletions(-)

Regards
Adrian