[Intel-gfx] [PATCH i-g-t] scripts/trace.pl: Fix ring ignore

Tvrtko Ursulin tursulin at ursulin.net
Tue Dec 19 08:46:52 UTC 2017


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Breakage from previous refactoring.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Reported-by: John Harrison <John.C.Harrison at intel.com>
Cc: John Harrison <John.C.Harrison at intel.com>
---
 scripts/trace.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/trace.pl b/scripts/trace.pl
index 588126ad46ab..98e4a9843a43 100755
--- a/scripts/trace.pl
+++ b/scripts/trace.pl
@@ -383,7 +383,7 @@ while (<>) {
 		$tp{$kv[0]} = $kv[1];
 	}
 
-	return undef if exists $tp{'ring'} and exists $ignore_ring{$tp{'ring'}};
+	next if exists $tp{'ring'} and exists $ignore_ring{$tp{'ring'}};
 
 	if ($tp_name eq 'i915_gem_request_wait_begin') {
 		my %rw;
-- 
2.14.1



More information about the Intel-gfx mailing list