perf tools: struct thread has a tid not a pid
[deliverable/linux.git] / tools / perf / util / thread.h
index 5e7ba35a55177db5295dd15b62c8d893820c6ef7..0fe1f9c05865623e054430b50c7b79b7ec986429 100644 (file)
@@ -12,7 +12,7 @@ struct thread {
                struct list_head node;
        };
        struct map_groups       mg;
-       pid_t                   pid;
+       pid_t                   tid;
        pid_t                   ppid;
        char                    shortname[3];
        bool                    comm_set;
@@ -24,7 +24,7 @@ struct thread {
 
 struct machine;
 
-struct thread *thread__new(pid_t pid);
+struct thread *thread__new(pid_t tid);
 void thread__delete(struct thread *self);
 
 int thread__set_comm(struct thread *self, const char *comm);
This page took 0.024151 seconds and 5 git commands to generate.