Skip to content

perf tools: Enable AUX area tracing snapshots using a FIFO

Adrian Hunter lkml 2 versions – Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 10 repliesApplied
  2. v16 patches 4 repliesSuperseded

Changes in v2 from the cover letter

Use fifo: prefix in --control option

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6perf tools: Consolidate --control option parsing into one functiontools/perf/builtin-record.c tools/perf/builtin-stat.c tools/perf/util/evlist.c +1 more+29 -402 replies
2/6perf tools: Handle read errors from ctl_fdtools/perf/util/evlist.c+11 -52 replies
3/6perf tools: Use AsciiDoc formatting for --control option documentationtools/perf/Documentation/perf-record.txt tools/perf/Documentation/perf-stat.txt+46 -462 replies
4/6perf tools: Add FIFO file names as alternative options to --controltools/perf/Documentation/perf-record.txt tools/perf/Documentation/perf-stat.txt tools/perf/builtin-record.c +5 more+99 -147 replies
5/6perf record: Add 'snapshot' control commandtools/perf/Documentation/perf-record.txt tools/perf/builtin-record.c tools/perf/builtin-stat.c +2 more+35 -142 replies
6/6perf intel-pt: Document snapshot control commandtools/perf/Documentation/perf-intel-pt.txt+20 -31 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchJiri OlsaAlexei Budankov
1/6A-b
2/6A-b
3/6A-b
4/6A-b A-b A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/6] perf tools: Enable AUX area tracing snapshots using a FIFO

Hi

Here are V2 patches to enable AUX area tracing snapshots using a FIFO. Presently SIGUSR2 can be used but the advantage of the FIFO is that access is governed by access to the FIFO. Refer to the example in patch 5.

The first 4 patches are preparation, including patch 4 which enhances the --control option to accept file names.

Patch 5 adds snapshot control command.

The final patch updates Intel PT documentation.

Changes in V2:
Use fifo: prefix in --control option

Adrian Hunter (6):
perf tools: Consolidate --control option parsing into one function perf tools: Handle read errors from ctl_fd
perf tools: Use AsciiDoc formatting for --control option documentation perf tools: Add FIFO file names as alternative options to --control perf record: Add 'snapshot' control command
perf intel-pt: Document snapshot control command

 tools/perf/Documentation/perf-intel-pt.txt | 23 ++++++-
 tools/perf/Documentation/perf-record.txt   | 56 ++++++++---------
 tools/perf/Documentation/perf-stat.txt     | 48 ++++++++-------
 tools/perf/builtin-record.c                | 74 +++++++++++++----------
 tools/perf/builtin-stat.c                  | 35 +++++------
 tools/perf/util/evlist.c                   | 96 +++++++++++++++++++++++++++---
 tools/perf/util/evlist.h                   |  6 +-
 tools/perf/util/record.h                   |  1 +
 tools/perf/util/stat.h                     |  1 +
 9 files changed, 227 insertions(+), 113 deletions(-)

Regards
Adrian