Defined in 3 files as a prototype:
- arch/loongarch/include/asm/unwind.h, line 36 (as a prototype)
- arch/s390/include/asm/unwind.h, line 61 (as a prototype)
- arch/x86/include/asm/unwind.h, line 45 (as a prototype)
Defined in 7 files as a function:
- arch/loongarch/kernel/unwind_guess.c, line 8 (as a function)
- arch/loongarch/kernel/unwind_orc.c, line 335 (as a function)
- arch/loongarch/kernel/unwind_prologue.c, line 231 (as a function)
- arch/s390/kernel/unwind_bc.c, line 14 (as a function)
- arch/x86/kernel/unwind_frame.c, line 14 (as a function)
- arch/x86/kernel/unwind_guess.c, line 9 (as a function)
- arch/x86/kernel/unwind_orc.c, line 380 (as a function)
Referenced in 20 files:
- arch/loongarch/kernel/perf_event.c, line 81
- arch/loongarch/kernel/process.c, line 250
- arch/loongarch/kernel/stacktrace.c
- arch/loongarch/kernel/traps.c, line 96
- arch/loongarch/kernel/unwind_guess.c, line 12
- arch/loongarch/kernel/unwind_orc.c, line 339
- arch/loongarch/kernel/unwind_prologue.c, line 235
- arch/s390/kernel/perf_event.c, line 209
- arch/s390/kernel/process.c, line 215
- arch/s390/kernel/stacktrace.c
- arch/s390/kernel/unwind_bc.c, line 20
- arch/s390/lib/test_unwind.c, line 68
- arch/s390/net/bpf_jit_comp.c, line 3094
- arch/x86/events/core.c, line 2876
- arch/x86/kernel/process.c, line 1051
- arch/x86/kernel/stacktrace.c
- arch/x86/kernel/unwind_frame.c, line 21
- arch/x86/kernel/unwind_guess.c, line 20
- arch/x86/kernel/unwind_orc.c, line 387
- arch/x86/net/bpf_jit_comp.c, line 4225
Smatch caller information:
arch/x86/net/bpf_jit_comp.c arch_bpf_stack_walk() -> unwind_get_return_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 6627325413077086208 |
| PARAM_VALUE | 0 | state->error | 1 |
| PARAM_VALUE | 0 | state->graph_idx | 0-2147483646 |
| PARAM_VALUE | 0 | state->ip | 0-5952596217597046783,5952596217597046785-u64max |
| PARAM_VALUE | 0 | state->regs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->stack_info.begin | 0-18446744073709547519 |
| PARAM_VALUE | 0 | state->stack_info.end | 0,4096-u64max |
| PARAM_VALUE | 0 | state->stack_info.type | 1-2,4 |
| PARAM_VALUE | 0 | state->stack_mask | 0,2-u64max |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/process.c __get_wchan() -> unwind_get_return_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 203157205208690688 |
| PARAM_VALUE | 0 | state->error | 1 |
| PARAM_VALUE | 0 | state->graph_idx | 0-2147483646 |
| PARAM_VALUE | 0 | state->ip | 0-5952596217597046783,5952596217597046785-u64max |
| PARAM_VALUE | 0 | state->regs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->stack_info.begin | 0-18446744073709547519 |
| PARAM_VALUE | 0 | state->stack_info.end | 0,4096-u64max |
| PARAM_VALUE | 0 | state->stack_info.type | 1-2,4 |
| PARAM_VALUE | 0 | state->stack_mask | 0,2-u64max |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | &p->pi_lock | ||
| LOCK2 | &p->signal->exec_update_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct seq_file)->lock | ||
| TYPE_LOCK | (struct signal_struct)->exec_update_lock | ||
| TYPE_LOCK | (struct task_struct)->pi_lock |
arch/x86/events/core.c perf_callchain_kernel() -> unwind_get_return_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 9036986890927263744 |
| PARAM_VALUE | 0 | state->error | 1 |
| PARAM_VALUE | 0 | state->graph_idx | 0-2147483646 |
| PARAM_VALUE | 0 | state->ip | 0-5952596217597046783,5952596217597046785-u64max |
| PARAM_VALUE | 0 | state->regs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->stack_info.begin | 0-18446744073709547519 |
| PARAM_VALUE | 0 | state->stack_info.end | 0,4096-u64max |
| PARAM_VALUE | 0 | state->stack_info.type | 1-2,4 |
| PARAM_VALUE | 0 | state->stack_mask | 0,2-u64max |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/stacktrace.c arch_stack_walk() -> unwind_get_return_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 5620292609999732736 |
| PARAM_VALUE | 0 | state->error | 1 |
| PARAM_VALUE | 0 | state->graph_idx | 0-2147483646 |
| PARAM_VALUE | 0 | state->ip | 0-5952596217597046783,5952596217597046785-u64max |
| PARAM_VALUE | 0 | state->regs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->stack_info.begin | 0-18446744073709547519 |
| PARAM_VALUE | 0 | state->stack_info.end | 0,4096-u64max |
| PARAM_VALUE | 0 | state->stack_info.type | 1-2,4 |
| PARAM_VALUE | 0 | state->stack_mask | 0,2-u64max |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/stacktrace.c arch_stack_walk_reliable() -> unwind_get_return_address()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4478616676633214976 |
| PARAM_VALUE | 0 | state->error | 1 |
| PARAM_VALUE | 0 | state->graph_idx | 0-2147483646 |
| PARAM_VALUE | 0 | state->ip | 0-5952596217597046783,5952596217597046785-u64max |
| PARAM_VALUE | 0 | state->regs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->stack_info.begin | 0-18446744073709547519 |
| PARAM_VALUE | 0 | state->stack_info.end | 0,4096-u64max |
| PARAM_VALUE | 0 | state->stack_info.type | 1-2,4 |
| PARAM_VALUE | 0 | state->stack_mask | 0,2-u64max |
| MEM_ZERO | 0 | state |