Defined in 1 files as a prototype:
Defined in 2 files as a function:
- kernel/trace/trace.h, line 875 (as a function)
- kernel/trace/trace_snapshot.c, line 383 (as a function)
Referenced in 3 files:
- kernel/trace/trace_hwlat.c, line 301
- kernel/trace/trace_osnoise.c, line 1416
- kernel/trace/trace_snapshot.c, line 448
Smatch caller information:
kernel/trace/trace_snapshot.c __update_max_tr() -> latency_fsnotify()
| 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->stop_count | 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 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | tr | unit_array_size |
| HALF_LOCKED2 | flags |
kernel/trace/trace_osnoise.c notify_new_max_latency() -> latency_fsnotify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->max_latency | 1-u64max |
| CAPPED_DATA | 0 | tr->max_latency | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
kernel/trace/trace_hwlat.c get_sample() -> latency_fsnotify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->max_latency | 1-9223372036854775807 |
| CAPPED_DATA | 0 | tr->max_latency | 1 |
| NOCHECK_CALL | |||
| LOCK2 | irq |