]> www.infradead.org Git - users/hch/misc.git/commitdiff
perf test attr: Add missing int_mist.uop_dropping event to test-stat files
authorTrevor Allison <tallison@redhat.com>
Tue, 16 Sep 2025 19:30:46 +0000 (15:30 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 19 Sep 2025 15:41:50 +0000 (12:41 -0300)
Setup 'struct perf_event_attr' test was failing on EMR cpu because 'perf
stat' was providing an event that was not included in the test. Type 4
Config 4269 or 10ad, int_misc.uop_dropping.

Add event type=4 config=4269 to test-stat-default and
test-stat-detailed-* files with optional=1 so EMR (Emerald Rapids)
machines can pass the test.

Fixes: d9a6bb9e359e6f81 ("perf vendor events: Update emeraldrapids events/metrics")
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Trevor Allison <tallison@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/attr/test-stat-default
tools/perf/tests/shell/attr/test-stat-detailed-1
tools/perf/tests/shell/attr/test-stat-detailed-2
tools/perf/tests/shell/attr/test-stat-detailed-3

index e47fb49446799b5716e4002ba883fce3856f3270..8dd27c1fb661fb771062fbede620740448f4f735 100644 (file)
@@ -227,3 +227,10 @@ fd=28
 type=4
 config=270
 optional=1
+
+# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING
+[event29:base-stat]
+fd=29
+type=4
+config=4269
+optional=1
\ No newline at end of file
index 3d500d3e0c5c8a978a7173a3daa8bb3811523474..12a2ebf4e64a0077b875ffa23eb48cc980f6ad3c 100644 (file)
@@ -269,3 +269,10 @@ fd=32
 type=3
 config=65538
 optional=1
+
+# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING
+[event33:base-stat]
+fd=33
+type=4
+config=4269
+optional=1
\ No newline at end of file
index 01777a63752fe6b86a5262024c352d6024dde171..66ea25b7d38f8d596191c7ffa5c9a9b56083d351 100644 (file)
@@ -329,3 +329,10 @@ fd=38
 type=3
 config=65540
 optional=1
+
+# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING
+[event39:base-stat]
+fd=39
+type=4
+config=4269
+optional=1
\ No newline at end of file
index 8400abd7e1e488ada2ce7788451cbd2d95e97245..4a27bbfb9f87a5385d74fe850904833d0a14170d 100644 (file)
@@ -349,3 +349,10 @@ fd=40
 type=3
 config=66048
 optional=1
+
+# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING
+[event41:base-stat]
+fd=41
+type=4
+config=4269
+optional=1
\ No newline at end of file