| #include <linux/rbtree.h> |
| int thread__set_comm(struct thread *self, const char *comm); |
| threads__findnew(pid_t pid, struct rb_root *threads, struct thread **last_match); |
| register_idle_thread(struct rb_root *threads, struct thread **last_match); |
| void thread__insert_map(struct thread *self, struct map *map); |
| int thread__fork(struct thread *self, struct thread *parent); |
| struct map *thread__find_map(struct thread *self, u64 ip); |
| size_t threads__fprintf(FILE *fp, struct rb_root *threads); |
| #endif /* __PERF_THREAD_H */ |