Defined in 2 files as a function:
- kernel/trace/trace_snapshot.c, line 417 (as a function)
- kernel/trace/trace_snapshot.c, line 451 (as a function)
Referenced in 1 files:
Smatch caller information:
kernel/trace/trace_snapshot.c update_max_tr() -> __update_max_tr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->allocated_snapshot | 1 |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->cond_snapshot | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tr->cond_snapshot->cond_data->key_len | 0-4294967295 |
| PARAM_VALUE | 0 | tr->cond_snapshot->cond_data->updated | 1 |
| PARAM_VALUE | 0 | tr->max_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer->record_disabled.counter | 0-s32max |
| PARAM_VALUE | 0 | tr->stop_count | 0 |
| DATA_SOURCE | 0 | tr | $0 |
| DATA_SOURCE | 1 | tsk | $1 |
| DATA_SOURCE | 2 | cpu | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | tr | unit_array_size |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
kernel/trace/trace_snapshot.c update_max_tr_single() -> __update_max_tr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->allocated_snapshot | 1 |
| PARAM_VALUE | 0 | tr->max_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer->cpumask->bits | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->stop_count | 0 |
| 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->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 |
| DATA_SOURCE | 1 | tsk | $1 |
| DATA_SOURCE | 2 | cpu | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &max_trace_lock |