[PATCH 0/5] perf tools: Fix -C option for record command

From: Jiri Olsa
Date: Mon Feb 25 2013 - 04:54:05 EST

Oleg reported the -C option in record not work properly:

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:


Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Cc: Corey Ashford <cjashfor@xxxxxxxxxxxxxxxxxx>
Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: David Ahern <dsahern@xxxxxxxxx>
Cc: Oleg Nesterov <oleg@xxxxxxxxxx>
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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/