Lines Matching defs:thread
19 int thread__init_map_groups(struct thread *thread, struct machine *machine) in thread__init_map_groups()
40 struct thread *thread = zalloc(sizeof(*thread)); in thread__new() local
76 void thread__delete(struct thread *thread) in thread__delete()
112 struct thread *thread__get(struct thread *thread) in thread__get()
119 void thread__put(struct thread *thread) in thread__put()
131 static struct namespaces *__thread__namespaces(const struct thread *thread) in __thread__namespaces()
139 struct namespaces *thread__namespaces(const struct thread *thread) in thread__namespaces()
150 static int __thread__set_namespaces(struct thread *thread, u64 timestamp, in __thread__set_namespaces()
174 int thread__set_namespaces(struct thread *thread, u64 timestamp, in thread__set_namespaces()
185 struct comm *thread__comm(const struct thread *thread) in thread__comm()
193 struct comm *thread__exec_comm(const struct thread *thread) in thread__exec_comm()
216 static int ____thread__set_comm(struct thread *thread, const char *str, in ____thread__set_comm()
241 int __thread__set_comm(struct thread *thread, const char *str, u64 timestamp, in __thread__set_comm()
252 int thread__set_comm_from_proc(struct thread *thread) in thread__set_comm_from_proc()
269 static const char *__thread__comm_str(const struct thread *thread) in __thread__comm_str()
279 const char *thread__comm_str(const struct thread *thread) in thread__comm_str()
291 int thread__comm_len(struct thread *thread) in thread__comm_len()
303 size_t thread__fprintf(struct thread *thread, FILE *fp) in thread__fprintf()
309 int thread__insert_map(struct thread *thread, struct map *map) in thread__insert_map()
323 static int __thread__prepare_access(struct thread *thread) in __thread__prepare_access()
343 static int thread__prepare_access(struct thread *thread) in thread__prepare_access()
353 static int thread__clone_map_groups(struct thread *thread, in thread__clone_map_groups()
373 int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp) in thread__fork()
389 void thread__find_cpumode_addr_location(struct thread *thread, u64 addr, in thread__find_cpumode_addr_location()
407 struct thread *thread__main_thread(struct machine *machine, struct thread *thread) in thread__main_thread()