mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 04:00:23 +01:00
radv/rmv: Also check the other pid field
Sometimes it seems like this field contains the correct pid instead. Fixes:8d0e6c02("radv: Add RMV tracing utilities") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20820> (cherry picked from commit2dec10c297)
This commit is contained in:
parent
611a7b9f75
commit
b204c4fb23
2 changed files with 2 additions and 2 deletions
|
|
@ -337,7 +337,7 @@
|
|||
"description": "radv/rmv: Also check the other pid field",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "8d0e6c02c7024fd3a1e8f60bde8dd4428943bd46"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ static void
|
|||
evaluate_trace_event(struct radv_device *device, uint64_t timestamp, struct util_dynarray *tokens,
|
||||
struct trace_event_amdgpu_vm_update_ptes *event)
|
||||
{
|
||||
if (event->common.pid != getpid()) {
|
||||
if (event->common.pid != getpid() && event->pid != getpid()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue