summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr/test-stat-default
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/attr/test-stat-default')
-rw-r--r--tools/perf/tests/attr/test-stat-default2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-stat-default b/tools/perf/tests/attr/test-stat-default
index 19270f54c96e..e911dbd4eb47 100644
--- a/tools/perf/tests/attr/test-stat-default
+++ b/tools/perf/tests/attr/test-stat-default
@@ -38,12 +38,14 @@ config=0
fd=6
type=0
config=7
+optional=1
# PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_BACKEND
[event7:base-stat]
fd=7
type=0
config=8
+optional=1
# PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS
[event8:base-stat]