Lines Matching defs:thread
16 #include "thread.h"
46 int test_dwarf_unwind__thread(struct thread *thread);
48 int test_dwarf_unwind__krava_3(struct thread *thread);
49 int test_dwarf_unwind__krava_2(struct thread *thread);
50 int test_dwarf_unwind__krava_1(struct thread *thread);
93 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__thread(struct thread *thread)
100 if (test__arch_unwind_sample(&sample, thread)) {
105 err = unwind__get_entries(unwind_entry, &cnt, thread,
126 /* Any possible value should be 'thread' */
127 struct thread *thread = *(struct thread **)p1;
133 global_unwind_retval = test_dwarf_unwind__thread(thread);
136 global_unwind_retval = test_dwarf_unwind__thread(thread);
143 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_3(struct thread *thread)
145 struct thread *array[2] = {thread, thread};
157 _bsearch(array, &thread, 2, sizeof(struct thread **),
162 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_2(struct thread *thread)
166 ret = test_dwarf_unwind__krava_3(thread);
171 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_1(struct thread *thread)
175 ret = test_dwarf_unwind__krava_2(thread);
184 struct thread *thread;
205 thread = machine__find_thread(machine, pid, pid);
206 if (!thread) {
207 pr_err("Could not get thread\n");
211 err = test_dwarf_unwind__krava_1(thread);
212 thread__put(thread);