From: Adrian Hunter <adrian.hunter@intel.com>
To: Arnaldo Carvalho de Melo <acme@kernel.org>, Jiri Olsa <jolsa@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH RFC 0/2] perf record: Put a copy of kcore into the perf.data directory
Date: Mon, 16 Sep 2019 11:56:44 +0300 [thread overview]
Message-ID: <20190916085646.6199-1-adrian.hunter@intel.com> (raw)
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
next reply other threads:[~2019-09-16 8:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-16 8:56 Adrian Hunter [this message]
2019-09-16 8:56 ` [PATCH RFC 1/2] perf tools: Support single perf.data file directory Adrian Hunter
2019-09-23 21:34 ` Jiri Olsa
2019-09-24 9:12 ` Adrian Hunter
2019-09-24 11:12 ` Jiri Olsa
2019-09-24 11:51 ` Adrian Hunter
2019-09-24 12:03 ` Jiri Olsa
2019-09-16 8:56 ` [PATCH RFC 2/2] perf record: Put a copy of kcore into the perf.data directory Adrian Hunter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190916085646.6199-1-adrian.hunter@intel.com \
--to=adrian.hunter@intel.com \
--cc=acme@kernel.org \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox