aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/trace-event-parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/trace-event-parse.c b/tools/perf/util/trace-event-parse.c
index a6577cdd9afd..96c5e97ffe7b 100644
--- a/tools/perf/util/trace-event-parse.c
+++ b/tools/perf/util/trace-event-parse.c
@@ -1997,6 +1997,7 @@ static void print_str_arg(void *data, int size,
1997 memcpy(str, data + arg->field.field->offset, 1997 memcpy(str, data + arg->field.field->offset,
1998 arg->field.field->size); 1998 arg->field.field->size);
1999 str[arg->field.field->size] = 0; 1999 str[arg->field.field->size] = 0;
2000 printf("%s", str);
2000 free(str); 2001 free(str);
2001 break; 2002 break;
2002 case PRINT_FLAGS: 2003 case PRINT_FLAGS: