| @@ -95,7 +95,7 @@ static int unwind_entry(struct unwind_entry *entry, void *arg) · 94 unmodified lines |
| 95 | return strcmp((const char *) symbol, funcs[idx]); | 95 | return strcmp((const char *) symbol, funcs[idx]); |
| 96 | } | 96 | } |
| 97 | | 97 | |
| 98 | __no_tail_call noinline int test_dwarf_unwind__thread(struct thread *thread) | 98 | noinline int test_dwarf_unwind__thread(struct thread *thread) |
| 99 | { | 99 | { |
| 100 | struct perf_sample sample; | 100 | struct perf_sample sample; |
| 101 | unsigned long cnt = 0; | 101 | unsigned long cnt = 0; |
| @@ -126,7 +126,7 @@ __no_tail_call noinline int test_dwarf_unwind__thread(struct thread *thread) · 24 unmodified lines |
| 126 | | 126 | |
| 127 | static int global_unwind_retval = -INT_MAX; | 127 | static int global_unwind_retval = -INT_MAX; |
| 128 | | 128 | |
| 129 | __no_tail_call noinline int test_dwarf_unwind__compare(void *p1, void *p2) | 129 | noinline int test_dwarf_unwind__compare(void *p1, void *p2) |
| 130 | { | 130 | { |
| 131 | /* Any possible value should be 'thread' */ | 131 | /* Any possible value should be 'thread' */ |
| 132 | struct thread *thread = *(struct thread **)p1; | 132 | struct thread *thread = *(struct thread **)p1; |
| @@ -145,7 +145,7 @@ __no_tail_call noinline int test_dwarf_unwind__compare(void *p1, void *p2) · 12 unmodified lines |
| 145 | return p1 - p2; | 145 | return p1 - p2; |
| 146 | } | 146 | } |
| 147 | | 147 | |
| 148 | __no_tail_call noinline int test_dwarf_unwind__krava_3(struct thread *thread) | 148 | noinline int test_dwarf_unwind__krava_3(struct thread *thread) |
| 149 | { | 149 | { |
| 150 | struct thread *array[2] = {thread, thread}; | 150 | struct thread *array[2] = {thread, thread}; |
| 151 | void *fp = &bsearch; | 151 | void *fp = &bsearch; |
| @@ -164,12 +164,12 @@ __no_tail_call noinline int test_dwarf_unwind__krava_3(struct thread *thread) · 12 unmodified lines |
| 164 | return global_unwind_retval; | 164 | return global_unwind_retval; |
| 165 | } | 165 | } |
| 166 | | 166 | |
| 167 | __no_tail_call noinline int test_dwarf_unwind__krava_2(struct thread *thread) | 167 | noinline int test_dwarf_unwind__krava_2(struct thread *thread) |
| 168 | { | 168 | { |
| 169 | return test_dwarf_unwind__krava_3(thread); | 169 | return test_dwarf_unwind__krava_3(thread); |
| 170 | } | 170 | } |
| 171 | | 171 | |
| 172 | __no_tail_call noinline int test_dwarf_unwind__krava_1(struct thread *thread) | 172 | noinline int test_dwarf_unwind__krava_1(struct thread *thread) |
| 173 | { | 173 | { |
| 174 | return test_dwarf_unwind__krava_2(thread); | 174 | return test_dwarf_unwind__krava_2(thread); |
| 175 | } | 175 | } |