Lines Matching full:thread
3 #include "thread.h"
12 static void unwind__register_ops(struct thread *thread, in unwind__register_ops() argument
15 thread->unwind_libunwind_ops = ops; in unwind__register_ops()
18 int unwind__prepare_access(struct thread *thread, struct map *map, in unwind__prepare_access() argument
26 if (thread->addr_space) { in unwind__prepare_access()
27 pr_debug("unwind: thread map already set, dso=%s\n", in unwind__prepare_access()
35 if (!thread->mg->machine->env || !thread->mg->machine->env->arch) in unwind__prepare_access()
38 dso_type = dso__type(map->dso, thread->mg->machine); in unwind__prepare_access()
42 arch = perf_env__arch(thread->mg->machine->env); in unwind__prepare_access()
57 unwind__register_ops(thread, ops); in unwind__prepare_access()
59 err = thread->unwind_libunwind_ops->prepare_access(thread); in unwind__prepare_access()
65 void unwind__flush_access(struct thread *thread) in unwind__flush_access() argument
67 if (thread->unwind_libunwind_ops) in unwind__flush_access()
68 thread->unwind_libunwind_ops->flush_access(thread); in unwind__flush_access()
71 void unwind__finish_access(struct thread *thread) in unwind__finish_access() argument
73 if (thread->unwind_libunwind_ops) in unwind__finish_access()
74 thread->unwind_libunwind_ops->finish_access(thread); in unwind__finish_access()
78 struct thread *thread, in unwind__get_entries() argument
81 if (thread->unwind_libunwind_ops) in unwind__get_entries()
82 return thread->unwind_libunwind_ops->get_entries(cb, arg, thread, data, max_stack); in unwind__get_entries()