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