[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1345798844-27423-1-git-send-email-jolsa@redhat.com>
Date: Fri, 24 Aug 2012 11:00:31 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...e.hu>, Paul Mackerras <paulus@...ba.org>,
Corey Ashford <cjashfor@...ux.vnet.ibm.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Jiri Olsa <jolsa@...hat.com>
Subject: [RFC 00/13] perf test: Add perf_event_attr tests
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@...stprotocols.net>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Ingo Molnar <mingo@...e.hu>
Cc: Paul Mackerras <paulus@...ba.org>
Cc: Corey Ashford <cjashfor@...ux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>
Signed-off-by: Jiri Olsa <jolsa@...hat.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(+)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists