Lines Matching defs:thread
16 #include "thread.h"
52 int test_dwarf_unwind__thread(struct thread *thread);
54 int test_dwarf_unwind__krava_3(struct thread *thread);
55 int test_dwarf_unwind__krava_2(struct thread *thread);
56 int test_dwarf_unwind__krava_1(struct thread *thread);
98 noinline int test_dwarf_unwind__thread(struct thread *thread)
106 if (test__arch_unwind_sample(&sample, thread)) {
111 err = unwind__get_entries(unwind_entry, &cnt, thread,
131 /* Any possible value should be 'thread' */
132 struct thread *thread = *(struct thread **)p1;
138 global_unwind_retval = test_dwarf_unwind__thread(thread);
141 global_unwind_retval = test_dwarf_unwind__thread(thread);
148 noinline int test_dwarf_unwind__krava_3(struct thread *thread)
150 struct thread *array[2] = {thread, thread};
162 _bsearch(array, &thread, 2, sizeof(struct thread **),
167 noinline int test_dwarf_unwind__krava_2(struct thread *thread)
169 return test_dwarf_unwind__krava_3(thread);
172 noinline int test_dwarf_unwind__krava_1(struct thread *thread)
174 return test_dwarf_unwind__krava_2(thread);
180 struct thread *thread;
205 thread = machine__find_thread(machine, getpid(), getpid());
206 if (!thread) {
207 pr_err("Could not get thread\n");
211 err = test_dwarf_unwind__krava_1(thread);
212 thread__put(thread);