perf tool: Fix enable/disable events logic for record command
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | perf tool: Fix attributes for '{}' defined event groupstools/ tools/ tools/ +5 more | +20 | 1 reply | |
| 2/5 | perf tool: Fix 'disabled' attribute config for record commandtools/ tools/ tools/ +1 more | +56 | 1 reply | |
| 3/5 | perf tool: Ensure single disable call per event in record comandtools/ | +4 | 1 reply | |
| 4/5 | perf tool: Omit group members from perf_evlist__disable/enabletools/ | +4 | 1 reply | |
| 5/5 | perf tool: Add basic event modifier sanity checktools/ tools/ | +21 | 3 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Namhyung Kim |
|---|---|
| Series | A-b |
| 1/5 | A-b |
| 2/5 | A-b |
| 3/5 | A-b |
| 4/5 | A-b |
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] perf tool: Fix enable/disable events logic for record command
hi,
this patchset fixes the event enable/disable logic for record command (patches 1 - 4) plus small fix for event parsing (patch 5).
Attached patches:
1/5 perf tool: Fix attributes for '{}' defined event groups 2/5 perf tool: Fix 'disabled' attribute config for record command 3/5 perf tool: Ensure single disable call per event in record comand 4/5 perf tool: Omit group members from perf_evlist__disable/enable 5/5 perf tool: Add basic event modifier sanity check
Also available in:git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/linux.git
perf/enable5
thanks,
jirka
--- tools/perf/builtin-record.c | 26 ++++++++++++++++++++++---- tools/perf/builtin-stat.c | 11 ++++------- tools/perf/tests/attr/test-record-group | 1 + tools/perf/tests/attr/test-record-group1 | 5 ++--- tools/perf/tests/attr/test-stat-group1 | 6 ++---- tools/perf/tests/open-syscall-tp-fields.c | 2 +- tools/perf/util/evlist.c | 10 ++++++---- tools/perf/util/evsel.c | 50 ++++++++++++++++++++++++++++++++++++++++++++------ tools/perf/util/evsel.h | 3 +-- tools/perf/util/parse-events.c | 20 ++++++++++++++++++++ tools/perf/util/parse-events.l | 2 +- 11 files changed, 104 insertions(+), 32 deletions(-)