perf tools: Don't use parent comm if not set at fork time
[pandora-kernel.git] / tools / perf / util / thread.h
index 56f317b..0a28f39 100644 (file)
@@ -15,6 +15,7 @@ struct thread {
        struct map_groups       mg;
        pid_t                   pid;
        char                    shortname[3];
+       bool                    comm_set;
        char                    *comm;
        int                     comm_len;
 };