Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 4 files:
- kernel/trace/trace_events_trigger.c, line 1625
- kernel/trace/trace_functions.c
- kernel/trace/trace_irqsoff.c, line 368
- kernel/trace/trace_sched_wakeup.c
Smatch caller information:
kernel/trace/trace_irqsoff.c check_critical_timing() -> __trace_stack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->irq_work.waiters_pending | 0 |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->irq_work.work.node.a_flags.counter | 0-s32max |
| PARAM_VALUE | 0 | tr->max_latency | 0-18446744073709551614 |
| PARAM_VALUE | 1 | trace_ctx | 0-16777215 |
| PARAM_VALUE | 2 | skip | 5 |
| CAPPED_DATA | 0 | tr->array_buffer.buffer | 1 |
| CAPPED_DATA | 0 | tr->max_latency | 1 |
| DATA_SOURCE | 0 | tr | $0 |
| DATA_SOURCE | 1 | trace_ctx | r tracing_gen_ctx |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | global &max_trace_lock |
kernel/trace/trace_functions.c function_stack_no_repeats_trace_call() -> __trace_stack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->irq_work.waiters_pending | 0 |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->irq_work.work.node.a_flags.counter | 0-s32max |
| PARAM_VALUE | 0 | tr->function_enabled | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | trace_ctx | 0-16777215 |
| PARAM_VALUE | 2 | skip | 2 |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | tr->array_buffer.buffer | 1 |
| DATA_SOURCE | 1 | trace_ctx | r tracing_gen_ctx_flags |
| NOCHECK_CALL | |||
| LOCK2 | flags |
kernel/trace/trace_functions.c function_stack_trace_call() -> __trace_stack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->function_enabled | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | trace_ctx | 0-16777215 |
| PARAM_VALUE | 2 | skip | 2 |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | tr->array_buffer.buffer | 1 |
| DATA_SOURCE | 1 | trace_ctx | r tracing_gen_ctx_flags |
| NOCHECK_CALL | |||
| LOCK2 | flags |
kernel/trace/trace_functions.c trace_stack() -> __trace_stack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | trace_ctx | 0-16777214 |
| PARAM_VALUE | 2 | skip | 3 |
| DATA_SOURCE | 0 | tr | $0 |
| NOCHECK_CALL |
kernel/trace/trace_sched_wakeup.c probe_wakeup() -> __trace_stack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | trace_ctx | 0-16777215 |
| PARAM_VALUE | 2 | skip | 0 |
| CAPPED_DATA | 0 | tr->array_buffer.buffer | 1 |
| DATA_SOURCE | 1 | trace_ctx | r tracing_gen_ctx |
| NOCHECK_CALL |
kernel/trace/trace_sched_wakeup.c probe_wakeup_sched_switch() -> __trace_stack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->irq_work.waiters_pending | 0 |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->irq_work.work.node.a_flags.counter | 0-s32max |
| PARAM_VALUE | 1 | trace_ctx | 0-16777215 |
| PARAM_VALUE | 2 | skip | 0 |
| CAPPED_DATA | 0 | tr->array_buffer.buffer | 1 |
| DATA_SOURCE | 1 | trace_ctx | r tracing_gen_ctx_flags |
| NOCHECK_CALL | |||
| LOCK2 | flags |
kernel/trace/trace_events_trigger.c stacktrace_trigger() -> __trace_stack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | trace_ctx | 0-16777214 |
| PARAM_VALUE | 2 | skip | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |