[PATCH 09/13] perf test: Add perf_event_attr record no-inherit test

2012-08-24 Thread Jiri Olsa
Adding test to validate perf_event_attr data for command:
  'record -i'

Cc: Arnaldo Carvalho de Melo 
Cc: Peter Zijlstra 
Cc: Ingo Molnar 
Cc: Paul Mackerras 
Cc: Corey Ashford 
Cc: Frederic Weisbecker 
Signed-off-by: Jiri Olsa 
---
 tools/perf/util/test-attr/test-record-no-inherit | 7 +++
 1 file changed, 7 insertions(+)
 create mode 100644 tools/perf/util/test-attr/test-record-no-inherit

diff --git a/tools/perf/util/test-attr/test-record-no-inherit 
b/tools/perf/util/test-attr/test-record-no-inherit
new file mode 100644
index 000..9079a25
--- /dev/null
+++ b/tools/perf/util/test-attr/test-record-no-inherit
@@ -0,0 +1,7 @@
+[config]
+command = record
+args= -i kill >/dev/null 2>&1
+
+[event:base-record]
+sample_type=259
+inherit=0
-- 
1.7.11.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 09/13] perf test: Add perf_event_attr record no-inherit test

2012-08-24 Thread Jiri Olsa
Adding test to validate perf_event_attr data for command:
  'record -i'

Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net
Cc: Peter Zijlstra a.p.zijls...@chello.nl
Cc: Ingo Molnar mi...@elte.hu
Cc: Paul Mackerras pau...@samba.org
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Signed-off-by: Jiri Olsa jo...@redhat.com
---
 tools/perf/util/test-attr/test-record-no-inherit | 7 +++
 1 file changed, 7 insertions(+)
 create mode 100644 tools/perf/util/test-attr/test-record-no-inherit

diff --git a/tools/perf/util/test-attr/test-record-no-inherit 
b/tools/perf/util/test-attr/test-record-no-inherit
new file mode 100644
index 000..9079a25
--- /dev/null
+++ b/tools/perf/util/test-attr/test-record-no-inherit
@@ -0,0 +1,7 @@
+[config]
+command = record
+args= -i kill /dev/null 21
+
+[event:base-record]
+sample_type=259
+inherit=0
-- 
1.7.11.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/