diff options
author | Jordan Justen <[email protected]> | 2017-04-05 22:34:42 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2017-04-06 13:25:38 -0700 |
commit | 3c77a5722252e01f2f5e4e320d2772f1f6c03f2c (patch) | |
tree | 73903b1eb7cf22d2735f17db8725fa2b0867dcf5 | |
parent | 2357e7a202f30d091f548674779ac946af7b7b3f (diff) |
intel/aubinator_error_decode: Fix structure decode data
The call to gen_print_group should provide a pointer to the beginning
of the the structure data, not the start of the batch data.
Cc: Lionel Landwerlin <[email protected]>
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
-rw-r--r-- | src/intel/tools/aubinator_error_decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/aubinator_error_decode.c b/src/intel/tools/aubinator_error_decode.c index 8a67f4f1698..1bdab00a663 100644 --- a/src/intel/tools/aubinator_error_decode.c +++ b/src/intel/tools/aubinator_error_decode.c @@ -239,7 +239,7 @@ static void decode(struct gen_spec *spec, printf("%s0x%08"PRIx64": 0x%08x: %-80s%s\n", color, offset, p[0], gen_group_get_name(inst), reset_color); - gen_print_group(stdout, inst, offset, data, + gen_print_group(stdout, inst, offset, p, option_color == COLOR_ALWAYS); length = gen_group_get_length(inst, p); } |