Lines Matching refs:thread
65 int test_dwarf_unwind__thread(struct thread *thread);
67 int test_dwarf_unwind__krava_3(struct thread *thread);
68 int test_dwarf_unwind__krava_2(struct thread *thread);
69 int test_dwarf_unwind__krava_1(struct thread *thread);
111 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__thread(struct thread *thread) in test_dwarf_unwind__thread() argument
119 if (test__arch_unwind_sample(&sample, thread)) { in test_dwarf_unwind__thread()
124 err = unwind__get_entries(unwind_entry, &cnt, thread, in test_dwarf_unwind__thread()
145 struct thread *thread = *(struct thread **)p1; in test_dwarf_unwind__compare() local
151 global_unwind_retval = test_dwarf_unwind__thread(thread); in test_dwarf_unwind__compare()
154 global_unwind_retval = test_dwarf_unwind__thread(thread); in test_dwarf_unwind__compare()
161 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_3(struct thread *thread) in test_dwarf_unwind__krava_3() argument
163 struct thread *array[2] = {thread, thread}; in test_dwarf_unwind__krava_3()
175 _bsearch(array, &thread, 2, sizeof(struct thread **), in test_dwarf_unwind__krava_3()
180 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_2(struct thread *thread) in test_dwarf_unwind__krava_2() argument
184 ret = test_dwarf_unwind__krava_3(thread); in test_dwarf_unwind__krava_2()
189 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_1(struct thread *thread) in test_dwarf_unwind__krava_1() argument
193 ret = test_dwarf_unwind__krava_2(thread); in test_dwarf_unwind__krava_1()
202 struct thread *thread; in test__dwarf_unwind() local
227 thread = machine__find_thread(machine, getpid(), getpid()); in test__dwarf_unwind()
228 if (!thread) { in test__dwarf_unwind()
233 err = test_dwarf_unwind__krava_1(thread); in test__dwarf_unwind()
234 thread__put(thread); in test__dwarf_unwind()