intel/aubinator_error_decode: Stop decoding after MI_BATCH_BUFFER_END
authorMatt Turner <mattst88@gmail.com>
Thu, 6 Apr 2017 20:43:38 +0000 (13:43 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 15 May 2017 18:43:20 +0000 (11:43 -0700)
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/tools/aubinator_error_decode.c

index 2e623698ed1788d7775fc8688d4c1e2c5825ec14..244bef8934469d22ccaf3444e53ab171dfaf5e85 100644 (file)
@@ -243,6 +243,9 @@ static void decode(struct gen_spec *spec,
 
       gen_print_group(stdout, inst, offset, p,
                       option_color == COLOR_ALWAYS);
+
+      if (strcmp(inst->name, "MI_BATCH_BUFFER_END") == 0)
+         break;
    }
 }