perf tools: Fix -C option for record command
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | perf tools: Fix -C option for record commandtools/ | +4 | 4 replies | |
| 2/5 | perf tests: Make attr script verbose friendlytools/ tools/ | +9 | 0 replies | |
| 3/5 | perf tests: Make attr script test event cputools/ tools/ tools/ | +3 | 0 replies | |
| 4/5 | perf tests: Add attr record -C cpu testtools/ | +13 | 0 replies | |
| 5/5 | perf tests: Add attr stat -C cpu testtools/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] perf tools: Fix -C option for record command
hi,
Oleg reported the -C option in record not work properly:
http://marc.info/?l=linux-kernel&m=136017986313315&w=2
The issue seems to be that the '-C X' target is considered as task related when it comes to synthetizing threads. Adding the fix plus some automated test cases.
Available in:git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/linux.git
perf/oleg1
jirka
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Corey Ashford <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc David Ahern <[email protected]>
Cc Oleg Nesterov <[email protected]>
---
Jiri Olsa (5):
perf tools: Fix -C option for record command perf tests: Make attr script verbose friendly perf tests: Make attr script test event cpu perf tests: Add attr record -C cpu test perf tests: Add attr stat -C cpu test
tools/perf/builtin-record.c | 6 ++++-- tools/perf/tests/attr.c | 9 +++++++-- tools/perf/tests/attr.py | 5 +++-- tools/perf/tests/attr/base-record | 1 + tools/perf/tests/attr/base-stat | 1 + tools/perf/tests/attr/test-record-C0 | 13 +++++++++++++ tools/perf/tests/attr/test-stat-C0 | 9 +++++++++ 7 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 tools/perf/tests/attr/test-record-C0 create mode 100644 tools/perf/tests/attr/test-stat-C0