diff options
-rw-r--r-- | tools/perf/tests/attr/test-stat-group1 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-stat-group1 b/tools/perf/tests/attr/test-stat-group1 new file mode 100644 index 000000000000..5ae2718de864 --- /dev/null +++ b/tools/perf/tests/attr/test-stat-group1 | |||
@@ -0,0 +1,17 @@ | |||
1 | [config] | ||
2 | command = stat | ||
3 | args = -e '{cycles,instructions}' kill >/dev/null 2>&1 | ||
4 | ret = 1 | ||
5 | |||
6 | [event-1:base-stat] | ||
7 | fd=1 | ||
8 | group_fd=-1 | ||
9 | |||
10 | [event-2:base-stat] | ||
11 | fd=2 | ||
12 | group_fd=1 | ||
13 | config=1 | ||
14 | # TODO both disabled and enable_on_exec are disabled for --group option, | ||
15 | # enabled otherwise, check why.. | ||
16 | disabled=1 | ||
17 | enable_on_exec=1 | ||