Commit 4c761d8
perf intel-pt: Fix intel_pt_fup_event() assumptions about setting state type
intel_pt_fup_event() assumes it can overwrite the state type if there has
been an FUP event, but this is an unnecessary and unexpected constraint on
callers.
Fix by touching only the state type flags that are affected by an FUP
event.
Fixes: a472e65 ("perf intel-pt: Add decoder support for ptwrite and power event packets")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: stable@vger.kernel.org # v5.15+
Link: https://lore.kernel.org/r/20211210162303.2288710-4-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>1 parent ad106a2 commit 4c761d8
1 file changed
Lines changed: 13 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1205 | 1205 | | |
1206 | 1206 | | |
1207 | 1207 | | |
| 1208 | + | |
1208 | 1209 | | |
1209 | 1210 | | |
| 1211 | + | |
| 1212 | + | |
1210 | 1213 | | |
1211 | 1214 | | |
1212 | 1215 | | |
1213 | | - | |
| 1216 | + | |
1214 | 1217 | | |
1215 | 1218 | | |
1216 | | - | |
1217 | | - | |
1218 | 1219 | | |
1219 | | - | |
| 1220 | + | |
1220 | 1221 | | |
1221 | 1222 | | |
1222 | 1223 | | |
1223 | | - | |
| 1224 | + | |
1224 | 1225 | | |
1225 | | - | |
1226 | | - | |
1227 | 1226 | | |
1228 | | - | |
| 1227 | + | |
1229 | 1228 | | |
1230 | 1229 | | |
1231 | 1230 | | |
1232 | | - | |
1233 | | - | |
1234 | | - | |
| 1231 | + | |
1235 | 1232 | | |
1236 | 1233 | | |
1237 | 1234 | | |
1238 | 1235 | | |
1239 | 1236 | | |
1240 | 1237 | | |
1241 | | - | |
1242 | | - | |
1243 | | - | |
1244 | 1238 | | |
1245 | 1239 | | |
1246 | 1240 | | |
1247 | 1241 | | |
1248 | 1242 | | |
1249 | 1243 | | |
1250 | | - | |
1251 | 1244 | | |
1252 | | - | |
1253 | | - | |
1254 | 1245 | | |
1255 | 1246 | | |
1256 | 1247 | | |
1257 | 1248 | | |
1258 | 1249 | | |
1259 | | - | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
1260 | 1253 | | |
1261 | 1254 | | |
1262 | | - | |
| 1255 | + | |
| 1256 | + | |
1263 | 1257 | | |
1264 | 1258 | | |
1265 | 1259 | | |
| |||
0 commit comments