[Mesa-dev] [PATCH] intel/aubinator_error_decode: Stop decoding after MI_BATCH_BUFFER_END

Matt Turner mattst88 at gmail.com
Sat Apr 8 04:53:47 UTC 2017


---
 src/intel/tools/aubinator_error_decode.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/intel/tools/aubinator_error_decode.c b/src/intel/tools/aubinator_error_decode.c
index 2e62369..244bef8 100644
--- a/src/intel/tools/aubinator_error_decode.c
+++ b/src/intel/tools/aubinator_error_decode.c
@@ -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;
    }
 }
 
-- 
2.10.2



More information about the mesa-dev mailing list