diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-05-16 18:30:09 +0100 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-05-22 09:51:04 +0100 |
commit | 0834e0319436c44d112b8db481d2bb38f8557dd2 (patch) | |
tree | 5a0cc6fd4b17d28f4b7b6b68d1511caf654d35a7 /scripts | |
parent | 8bcc345ac5db2c6a8e2361923632b014a8ea6c94 (diff) |
trace.pl: Ignore signaling on non i915 fences
gem_wsim uses the sw_fence timeline and confuses the script.
v2:
* Check the correct timeline as well. (Chris)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/trace.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/trace.pl b/scripts/trace.pl index 8c896cfd..ac141a51 100755 --- a/scripts/trace.pl +++ b/scripts/trace.pl @@ -443,6 +443,9 @@ while (<>) { } elsif ($tp_name eq 'dma_fence:dma_fence_signaled:') { my $nkey; + next unless $tp{'driver'} eq 'i915' and + $tp{'timeline'} eq 'signaled'; + $nkey = notify_key($tp{'context'}, $tp{'seqno'}); die if exists $notify{$nkey}; |