Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/trace/trace_irqsoff.c __trace_function() -> trace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 3 | trace_ctx | 0-16777215 |
| PARAM_VALUE | 4 | fregs | 0 |
| DATA_SOURCE | 0 | tr | $0 |
| DATA_SOURCE | 1 | ip | $1 |
| DATA_SOURCE | 2 | parent_ip | $2 |
| DATA_SOURCE | 3 | trace_ctx | $3 |
| BIT_INFO | 0 | tr->trace_flags | 0x0,0xffffffffbfffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &max_trace_lock |
kernel/trace/trace_irqsoff.c irqsoff_tracer_call() -> trace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 0,4096-ptr_max |
| PARAM_VALUE | 3 | trace_ctx | 0-16777215 |
| DATA_SOURCE | 1 | ip | $0 |
| DATA_SOURCE | 2 | parent_ip | $1 |
| DATA_SOURCE | 3 | trace_ctx | r tracing_gen_ctx_flags |
| DATA_SOURCE | 4 | fregs | $3 |
| NOCHECK_CALL |
kernel/trace/trace_functions.c function_args_trace_call() -> trace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->function_enabled | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | trace_ctx | 0-16777215 |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | ip | $0 |
| DATA_SOURCE | 2 | parent_ip | $1 |
| DATA_SOURCE | 3 | trace_ctx | r tracing_gen_ctx |
| DATA_SOURCE | 4 | fregs | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL |
kernel/trace/trace_functions.c function_no_repeats_trace_call() -> trace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 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 | 3 | trace_ctx | 0-16777214 |
| PARAM_VALUE | 4 | fregs | 0 |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | ip | $0 [m] |
| DATA_SOURCE | 2 | parent_ip | r function_get_true_parent_ip |
| DATA_SOURCE | 3 | trace_ctx | r tracing_gen_ctx_dec |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL |
kernel/trace/trace_functions.c function_stack_no_repeats_trace_call() -> trace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 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 | 3 | trace_ctx | 0-16777215 |
| PARAM_VALUE | 4 | fregs | 0 |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | ip | $0 [m] |
| DATA_SOURCE | 2 | parent_ip | r function_get_true_parent_ip |
| DATA_SOURCE | 3 | trace_ctx | r tracing_gen_ctx_flags |
| NOCHECK_CALL | |||
| LOCK2 | flags |
kernel/trace/trace_functions.c function_stack_trace_call() -> trace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->function_enabled | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | trace_ctx | 0-16777215 |
| PARAM_VALUE | 4 | fregs | 0 |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | ip | $0 |
| DATA_SOURCE | 2 | parent_ip | r function_get_true_parent_ip |
| DATA_SOURCE | 3 | trace_ctx | r tracing_gen_ctx_flags |
| NOCHECK_CALL | |||
| LOCK2 | flags |
kernel/trace/trace_functions.c function_trace_call() -> trace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->function_enabled | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | trace_ctx | 0-16777214 |
| PARAM_VALUE | 4 | fregs | 0 |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | ip | $0 |
| DATA_SOURCE | 2 | parent_ip | r function_get_true_parent_ip |
| DATA_SOURCE | 3 | trace_ctx | r tracing_gen_ctx_dec |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL |
kernel/trace/trace_sched_wakeup.c __trace_function() -> trace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 2 | parent_ip | 0 |
| PARAM_VALUE | 3 | trace_ctx | 0-16777215 |
| PARAM_VALUE | 4 | fregs | 0 |
| DATA_SOURCE | 0 | tr | $0 |
| DATA_SOURCE | 1 | ip | $1 |
| DATA_SOURCE | 2 | parent_ip | $2 |
| DATA_SOURCE | 3 | trace_ctx | $3 |
| BIT_INFO | 0 | tr->trace_flags | 0x0,0xffffffffbfffffff |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags |
kernel/trace/trace_sched_wakeup.c wakeup_tracer_call() -> trace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 0,4096-ptr_max |
| PARAM_VALUE | 3 | trace_ctx | 0-16777215 |
| DATA_SOURCE | 1 | ip | $0 |
| DATA_SOURCE | 2 | parent_ip | $1 |
| DATA_SOURCE | 4 | fregs | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags |