[Mesa-dev] [PATCH 7/7] aubinator: print number of dwords per instruction

Lionel Landwerlin lionel.g.landwerlin at intel.com
Thu Aug 3 14:37:45 UTC 2017


Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
 src/intel/tools/aubinator.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
index 48d4456cc16..2c4eaab1701 100644
--- a/src/intel/tools/aubinator.c
+++ b/src/intel/tools/aubinator.c
@@ -729,9 +729,12 @@ parse_commands(struct gen_spec *spec, uint32_t *cmds, int size, int engine)
       else
          offset = 0;
 
-      fprintf(outfile, "%s0x%08"PRIx64":  0x%08x:  %-80s%s\n",
+      fprintf(outfile, "%s0x%08"PRIx64":  0x%08x:  %s (%i Dwords) %-80s %s\n",
               color, offset, p[0],
-              gen_group_get_name(inst), reset_color);
+              gen_group_get_name(inst),
+              gen_group_get_length(inst, p),
+              "",
+              reset_color);
 
       if (option_full_decode) {
          decode_group(inst, p, 0);
-- 
2.13.3



More information about the mesa-dev mailing list