Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/trace/trace_irqsoff.c check_critical_timing() -> update_max_tr_single()
| 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.work.node.a_flags.counter | 0-s32max |
| PARAM_VALUE | 0 | tr->max_latency | 1-u64max |
| PARAM_VALUE | 2 | cpu | 0 |
| CAPPED_DATA | 0 | tr->array_buffer.buffer | 1 |
| CAPPED_DATA | 0 | tr->max_latency | 1 |
| DATA_SOURCE | 0 | tr | $0 |
| DATA_SOURCE | 2 | cpu | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | global &max_trace_lock |
kernel/trace/trace_snapshot.c tracing_swap_cpu_buffer() -> update_max_tr_single()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | cpu | 0 |
| BUF_SIZE | 0 | tr->clk | (-1),1-s32max |
| BUF_SIZE | 0 | tr->clk_bus | (-1),1-s32max |
| BUF_SIZE | 0 | tr->dev | (-1),1616 |
| BUF_SIZE | 0 | tr->pages | (-1)-s32max |
| BUF_SIZE | 0 | tr->phylink | (-1),816 |
| BUF_SIZE | 0 | tr->phylink_config.dev | (-1),1616 |
| BUF_SIZE | 0 | tr->phylink_pcs.ops | (-1),104 |
| BUF_SIZE | 0 | tr->ports | (-1),576 |
| BUF_SIZE | 0 | tr->reg | (-1),15 |
| BUF_SIZE | 0 | tr->stats | (-1),120 |
| BUF_SIZE | 0 | tr->vaddr | (-1),8,800 |
| DATA_SOURCE | 0 | tr | $0 |
| BIT_INFO | 2 | cpu | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | tr | unit_byte |
| HALF_LOCKED2 | flags |