Skip to content

perf tools: Allow to enable/disable events via control pipe

Jiri Olsa lkml 4 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. v4 Latest4 patches 5 repliesApplied
  2. v34 patches 0 repliesSuperseded
  3. v23 patches 11 repliesApplied
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches21 repliesSuperseded

Changes in v4 from the cover letter

- some of the patches got merged
- rebased to latest perf/core
- fixed changelogs
- added 'ping' command

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4perf tools: Allow to enable/disable events via control filetools/perf/Documentation/perf-record.txt tools/perf/builtin-record.c tools/perf/builtin-stat.c +1 more+67 -142 replies
2/4perf tools: Add evlist control commandtools/perf/Documentation/perf-record.txt tools/perf/builtin-record.c tools/perf/builtin-stat.c +5 more+59 -60 replies
3/4perf tools: Add stop control commandtools/perf/Documentation/perf-record.txt tools/perf/builtin-record.c tools/perf/builtin-stat.c +2 more+11 -00 replies
4/4perf tools: Add ping control commandtools/perf/Documentation/perf-record.txt tools/perf/builtin-record.c tools/perf/builtin-stat.c +2 more+9 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNamhyung Kim
SeriesA-b
1/4
2/4
3/4
4/4

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

Read the v4 thread

Cover letter [PATCHv4 0/4] perf tools: Allow to enable/disable events via control pipe

hi,
adding support to enable/disable specific events via control file via following commands:

    # echo 'enable sched:sched_process_fork' > control
    # echo 'disabled sched:sched_process_fork' > control

v4 changes:
- some of the patches got merged
- rebased to latest perf/core
- fixed changelogs
- added 'ping' command

v3 changes:
- use ' ' instead of '-' in syntax and add command argument processing [Arnaldo]
- add options to evlist [Arnaldo]
- add man page changes

v2 changes:
- added acks
- change list to evlist [Arnaldo]
- add evlist-verbose command [Arnaldo]
- add '' to enale-/disable- error message

The code is available in here:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/control

thanks,
jirka

---
Jiri Olsa (4):
perf tools: Allow to enable/disable events via control file perf tools: Add evlist control command
perf tools: Add stop control command
perf tools: Add ping control command

 tools/perf/Documentation/perf-record.txt |  15 ++++++++++++---
 tools/perf/builtin-record.c              |  13 +++++++------
 tools/perf/builtin-stat.c                |   5 +++--
 tools/perf/util/evlist.c                 | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 tools/perf/util/evlist.h                 |   6 ++++++
 tools/perf/util/evsel_fprintf.c          |   2 ++
 tools/perf/util/python-ext-sources       |   1 +
 tools/perf/util/setup.py                 |   2 +-
 8 files changed, 141 insertions(+), 15 deletions(-)