diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-05-01 10:27:30 +0100 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-07-19 09:43:07 +0100 |
commit | 7f85adc4050182f490c7a5c48db3d57cdb00af4e (patch) | |
tree | 0d95e6ee9873b0d81e26e07a6a415c216510d8d2 /scripts | |
parent | b1e5d5354c3f5245df21eb3be3bf964e3fc0430a (diff) |
trace.pl: Basic preemption support
Just forget about earlier request_in events.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/trace.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/trace.pl b/scripts/trace.pl index 75b899c5..5ae53fc0 100755 --- a/scripts/trace.pl +++ b/scripts/trace.pl @@ -408,7 +408,9 @@ while (<>) { } elsif ($tp_name eq 'i915:i915_request_in:') { my %req; - die if exists $db{$key}; + # preemption + delete $db{$key} if exists $db{$key}; + die unless exists $queue{$key}; die unless exists $submit{$key}; |