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

From: Adrian Hunter
Date: Mon Sep 16 2019 - 04:58:04 EST


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