Commit 3f59446
committed
perf pmu: Tolerate failure to read the type for wellknown PMUs
JIRA: https://issues.redhat.com/browse/RHEL-78198
upstream
========
commit 8c75dc7
Author: Ian Rogers <irogers@google.com>
Date: Thu Jul 10 16:51:17 2025 -0700
description
===========
If sysfs isn't mounted then we may fail to read a PMU's type. In this
situation resort to lookup of wellknown types. Only applies to
software, tracepoint and breakpoint PMUs.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250710235126.1086011-5-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Michael Petlan <mpetlan@redhat.com>1 parent c3e6b74 commit 3f59446
1 file changed
+32
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1181 | 1181 | | |
1182 | 1182 | | |
1183 | 1183 | | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
1184 | 1210 | | |
1185 | 1211 | | |
1186 | 1212 | | |
| |||
1200 | 1226 | | |
1201 | 1227 | | |
1202 | 1228 | | |
1203 | | - | |
1204 | | - | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
1205 | 1235 | | |
1206 | 1236 | | |
1207 | 1237 | | |
| |||
0 commit comments