diff options
| -rw-r--r-- | tools/perf/util/trace-event-parse.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/trace-event-parse.c b/tools/perf/util/trace-event-parse.c index 9b3c20f42f9..613c9cc9057 100644 --- a/tools/perf/util/trace-event-parse.c +++ b/tools/perf/util/trace-event-parse.c @@ -1925,7 +1925,7 @@ void *raw_field_ptr(struct event *event, const char *name, void *data)  	if (!field)  		return NULL; -	if (field->flags & FIELD_IS_STRING) { +	if (field->flags & FIELD_IS_DYNAMIC) {  		int offset;  		offset = *(int *)(data + field->offset);  |