[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAP-5=fVXgn3gT2qb9PSPBSV4X66DHBkFEdkZfOF=sKtoEco31Q@mail.gmail.com>
Date: Tue, 14 Jun 2022 07:55:28 -0700
From: Ian Rogers <irogers@...gle.com>
To: Adrian Hunter <adrian.hunter@...el.com>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/5] perf record: Preparation for sideband injection
On Fri, Jun 10, 2022 at 4:33 AM Adrian Hunter <adrian.hunter@...el.com> wrote:
>
> 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.
>
Except for a nit on the perf-record man page, everything looks good to me.
Acked-by: Ian Rogers <irogers@...gle.com>
Thanks,
Ian
> 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
Powered by blists - more mailing lists