Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
lib/tests/test_kprobes.c stacktrace_internal_return_handler() -> stack_trace_save_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 0 | regs->cs | 16 |
| PARAM_VALUE | 0 | regs->csx | 16 |
| PARAM_VALUE | 0 | regs->ip | 1-5952596217597046783,5952596217597046785-u64max |
| PARAM_VALUE | 0 | regs->orig_ax | u64max |
| PARAM_VALUE | 1 | store | 6316773592768913408 |
| PARAM_VALUE | 2 | size | 16 |
| PARAM_VALUE | 3 | skipnr | 0 |
| BUF_SIZE | 1 | store | 128 |
| DATA_SOURCE | 0 | regs | $1 |
lib/tests/test_kprobes.c stacktrace_return_handler() -> stack_trace_save_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 0 | regs->cs | 16 |
| PARAM_VALUE | 0 | regs->csx | 16 |
| PARAM_VALUE | 0 | regs->ip | 1-5952596217597046783,5952596217597046785-u64max |
| PARAM_VALUE | 0 | regs->orig_ax | u64max |
| PARAM_VALUE | 1 | store | 6316773592768913408 |
| PARAM_VALUE | 2 | size | 16 |
| PARAM_VALUE | 3 | skipnr | 0 |
| BUF_SIZE | 1 | store | 128 |
| DATA_SOURCE | 0 | regs | $1 |
mm/kfence/report.c kfence_report_error() -> stack_trace_save_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | store | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 64 |
| PARAM_VALUE | 3 | skipnr | 0 |
| BUF_SIZE | 1 | store | 512 |
| DATA_SOURCE | 0 | regs | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &meta->lock | ||
| HALF_LOCKED2 | flags |
kernel/trace/trace.c __ftrace_trace_stack() -> stack_trace_save_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 1-u64max |
| PARAM_VALUE | 2 | size | 1024 |
| PARAM_VALUE | 3 | skipnr | 0,3 |
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 1 | store | 8192 |
| DATA_SOURCE | 0 | regs | $4 |
| DATA_SOURCE | 3 | skipnr | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_array_size |