Lines Matching full:thread

16 #include "thread.h"
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);
112 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__thread(struct thread *thread) in test_dwarf_unwind__thread() argument
120 if (test__arch_unwind_sample(&sample, thread)) { in test_dwarf_unwind__thread()
125 err = unwind__get_entries(unwind_entry, &cnt, thread, in test_dwarf_unwind__thread()
145 /* Any possible value should be 'thread' */ in test_dwarf_unwind__compare()
146 struct thread *thread = *(struct thread **)p1; in test_dwarf_unwind__compare() local
152 global_unwind_retval = test_dwarf_unwind__thread(thread); in test_dwarf_unwind__compare()
155 global_unwind_retval = test_dwarf_unwind__thread(thread); in test_dwarf_unwind__compare()
162 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_3(struct thread *thread) in test_dwarf_unwind__krava_3() argument
164 struct thread *array[2] = {thread, thread}; in test_dwarf_unwind__krava_3()
176 _bsearch(array, &thread, 2, sizeof(struct thread **), in test_dwarf_unwind__krava_3()
181 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_2(struct thread *thread) in test_dwarf_unwind__krava_2() argument
185 ret = test_dwarf_unwind__krava_3(thread); in test_dwarf_unwind__krava_2()
190 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_1(struct thread *thread) in test_dwarf_unwind__krava_1() argument
194 ret = test_dwarf_unwind__krava_2(thread); in test_dwarf_unwind__krava_1()
203 struct thread *thread; in test__dwarf_unwind() local
228 thread = machine__find_thread(machine, getpid(), getpid()); in test__dwarf_unwind()
229 if (!thread) { in test__dwarf_unwind()
230 pr_err("Could not get thread\n"); in test__dwarf_unwind()
234 err = test_dwarf_unwind__krava_1(thread); in test__dwarf_unwind()
235 thread__put(thread); in test__dwarf_unwind()