public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] perf tools: Fix -C option for record command
@ 2013-02-25  9:52 Jiri Olsa
  2013-02-25  9:52 ` [PATCH 1/5] " Jiri Olsa
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Jiri Olsa @ 2013-02-25  9:52 UTC (permalink / raw)
  To: linux-kernel
  Cc: Arnaldo Carvalho de Melo, Peter Zijlstra, Ingo Molnar,
	Paul Mackerras, Corey Ashford, Frederic Weisbecker, Namhyung Kim,
	David Ahern, Oleg Nesterov

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 <acme@ghostprotocols.net>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
---
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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-03-21 11:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-25  9:52 [PATCH 0/5] perf tools: Fix -C option for record command Jiri Olsa
2013-02-25  9:52 ` [PATCH 1/5] " Jiri Olsa
2013-02-25 18:39   ` Oleg Nesterov
2013-02-25 18:56     ` David Ahern
2013-02-25 19:38       ` Jiri Olsa
2013-02-26 14:38         ` Oleg Nesterov
2013-03-18 10:53   ` [tip:perf/urgent] perf record: Fix -C option tip-bot for Jiri Olsa
2013-02-25  9:52 ` [PATCH 2/5] perf tests: Make attr script verbose friendly Jiri Olsa
2013-03-21 10:54   ` [tip:perf/core] " tip-bot for Jiri Olsa
2013-02-25  9:52 ` [PATCH 3/5] perf tests: Make attr script test event cpu Jiri Olsa
2013-03-21 10:55   ` [tip:perf/core] " tip-bot for Jiri Olsa
2013-02-25  9:52 ` [PATCH 4/5] perf tests: Add attr record -C cpu test Jiri Olsa
2013-03-21 10:57   ` [tip:perf/core] " tip-bot for Jiri Olsa
2013-02-25  9:52 ` [PATCH 5/5] perf tests: Add attr stat " Jiri Olsa
2013-03-21 10:58   ` [tip:perf/core] " tip-bot for Jiri Olsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox