summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/aubinator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/tools/aubinator.c')
-rw-r--r--src/intel/tools/aubinator.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
index 73df16b6dce..0d4b3f944f4 100644
--- a/src/intel/tools/aubinator.c
+++ b/src/intel/tools/aubinator.c
@@ -111,7 +111,12 @@ print_iterator_values(struct gen_field_iterator *iter, int *idx)
{
char *token = NULL;
if (strstr(iter->value, "struct") == NULL) {
- printf(" %s: %s\n", iter->name, iter->value);
+ if (strlen(iter->description) > 0) {
+ printf(" %s: %s (%s)\n",
+ iter->name, iter->value, iter->description);
+ } else {
+ printf(" %s: %s\n", iter->name, iter->value);
+ }
} else {
token = strtok(iter->value, " ");
if (token != NULL) {