diff options
Diffstat (limited to 'tools/perf/util/thread.c')
| -rw-r--r-- | tools/perf/util/thread.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/thread.c b/tools/perf/util/thread.c index 2b7b2d91c016..c41411726c7a 100644 --- a/tools/perf/util/thread.c +++ b/tools/perf/util/thread.c @@ -117,6 +117,9 @@ int __thread__set_comm(struct thread *thread, const char *str, u64 timestamp,  		if (!new)  			return -ENOMEM;  		list_add(&new->list, &thread->comm_list); + +		if (exec) +			unwind__flush_access(thread);  	}  	thread->comm_set = true;  | 
