public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC 00/13] perf test: Add perf_event_attr tests
@ 2012-08-24  9:00 Jiri Olsa
  2012-08-24  9:00 ` [PATCH 01/13] perf test: Add framework for atomated " Jiri Olsa
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ messages in thread
From: Jiri Olsa @ 2012-08-24  9:00 UTC (permalink / raw)
  To: linux-kernel
  Cc: Arnaldo Carvalho de Melo, Peter Zijlstra, Ingo Molnar,
	Paul Mackerras, Corey Ashford, Frederic Weisbecker, Jiri Olsa

hi,
this code tests the link between perf stat/record command line
options and final perf_event_attr struct values. Also it tests
the group fd linkage.

It's probably missing many command line option combinations
worth testing. I wanted to check with others for more ideas
before diving into this.

You can check this also here:

git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/linux.git
perf/attr_tests4

thanks,
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>
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
 tools/perf/Makefile                                 |   1 +
 tools/perf/builtin-test.c                           |   4 +
 tools/perf/perf.c                                   |   2 +
 tools/perf/perf.h                                   |  11 ++
 tools/perf/util/test-attr.c                         | 142 ++++++++++++++++++++++++++
 tools/perf/util/test-attr.py                        | 272 ++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/perf/util/test-attr/base-record               |  39 ++++++++
 tools/perf/util/test-attr/base-stat                 |  39 ++++++++
 tools/perf/util/test-attr/test-record-basic         |   5 +
 tools/perf/util/test-attr/test-record-count         |   8 ++
 tools/perf/util/test-attr/test-record-freq          |   6 ++
 tools/perf/util/test-attr/test-record-graph-default |   6 ++
 tools/perf/util/test-attr/test-record-graph-dwarf   |   6 ++
 tools/perf/util/test-attr/test-record-graph-fp      |   6 ++
 tools/perf/util/test-attr/test-record-group         |  17 ++++
 tools/perf/util/test-attr/test-record-no-inherit    |   7 ++
 tools/perf/util/test-attr/test-record-no-samples    |   6 ++
 tools/perf/util/test-attr/test-record-period        |   7 ++
 tools/perf/util/test-attr/test-stat-basic           |   6 ++
 tools/perf/util/test-attr/test-stat-group           |  15 +++
 tools/perf/util/test-attr/test-stat-no-inherit      |   7 ++
 21 files changed, 612 insertions(+)

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

end of thread, other threads:[~2012-08-24 18:12 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-24  9:00 [RFC 00/13] perf test: Add perf_event_attr tests Jiri Olsa
2012-08-24  9:00 ` [PATCH 01/13] perf test: Add framework for atomated " Jiri Olsa
2012-08-24  9:00 ` [PATCH 02/13] perf test: Add perf_event_attr record basic test Jiri Olsa
2012-08-24  9:00 ` [PATCH 03/13] perf test: Add perf_event_attr record group test Jiri Olsa
2012-08-24  9:00 ` [PATCH 04/13] perf test: Add perf_event_attr record freq test Jiri Olsa
2012-08-24  9:00 ` [PATCH 05/13] perf test: Add perf_event_attr record count test Jiri Olsa
2012-08-24  9:00 ` [PATCH 06/13] perf test: Add perf_event_attr record graph test Jiri Olsa
2012-08-24  9:00 ` [PATCH 07/13] perf test: Add perf_event_attr record period test Jiri Olsa
2012-08-24  9:00 ` [PATCH 08/13] perf test: Add perf_event_attr record no samples test Jiri Olsa
2012-08-24  9:00 ` [PATCH 09/13] perf test: Add perf_event_attr record no-inherit test Jiri Olsa
2012-08-24  9:00 ` [PATCH 10/13] perf test: Add perf_event_attr stat basic test Jiri Olsa
2012-08-24  9:00 ` [PATCH 11/13] perf test: Add perf_event_attr stat no-inherit test Jiri Olsa
2012-08-24  9:00 ` [PATCH 12/13] perf test: Add perf_event_attr stat group test Jiri Olsa
2012-08-24  9:00 ` [PATCH 13/13] perf test: Add attr tests under builtin test command Jiri Olsa
2012-08-24 13:07 ` [RFC 00/13] perf test: Add perf_event_attr tests Arnaldo Carvalho de Melo
2012-08-24 18:12   ` Ingo Molnar

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