Defined in 2 files as a function:
- kernel/trace/trace_events_hist.c, line 781 (as a function)
- kernel/trace/trace_events_synth.c, line 59 (as a function)
Referenced in 2 files:
Smatch caller information:
kernel/trace/trace_events_hist.c event_hist_trigger_parse() -> last_cmd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | str | (-1),256 |
| BUF_SIZE | 1 | str | (-1),256 |
| DATA_SOURCE | 0 | file | $1 |
| DATA_SOURCE | 1 | str | $4 |
| STR_LEN | 0 | file | (-1),4 |
| STR_LEN | 0 | file | (-1),4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | file->tr->range_addr_size | 1-u64max[c] |
| USER_DATA | 1 | *str | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | file->tr->range_addr_size | |
| USER_PTR | 1 | str | |
| HALF_LOCKED2 | _T->lock |
kernel/trace/trace_events_synth.c create_or_delete_synth_event() -> last_cmd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-s32max |
| DATA_SOURCE | 0 | file | r skip_spaces |
| TERMINATED | 0 | file | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | file | 4096-ptr_max[c][u] |
| USER_DATA | 0 | *file | 0-255 |
| UNITS | 0 | file | unit_byte |
| USER_PTR | 0 | file |
kernel/trace/trace_events_synth.c create_synth_event() -> last_cmd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-s32max |
| DATA_SOURCE | 0 | file | r skip_spaces |
| STR_LEN | 0 | file | (-1) |
| STR_LEN | 0 | file | (-1) |
| NOCHECK_CALL | |||
| USER_DATA | 0 | file | 4096-ptr_max[c][u] |
| USER_DATA | 0 | *file | 0-255 |
| USER_PTR | 0 | file | |
| LOCK2 | global &dyn_event_ops_mutex |