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>
This commit is contained in:
committed by
Marge Bot
parent
f6c06ef2f6
commit
2dec10c297
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user