Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/trace/trace_events.c __add_event_to_tracers() -> __trace_add_new_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | call | 4096-ptr_max |
| PARAM_VALUE | 0 | call->event.funcs->binary | 0,366248956480319488,1132500096532652032,3767241743495258112,5261868057571782656 |
| PARAM_VALUE | 0 | call->event.funcs->hex | 0,1094850396847636480,5261868057571782656,6422558193448333312,7465791468207640576 |
| PARAM_VALUE | 0 | call->event.node.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | call->event.type | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | call->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | call->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | call->module | 0,4096-ptr_max |
| PARAM_VALUE | 0 | call->print_fmt | 0-255,4096-ptr_max |
| BUF_SIZE | 0 | call | (-1),120 |
| BUF_SIZE | 0 | call | (-1),120 |
| BUF_SIZE | 0 | call->class->fields_array | (-1),80 |
| BUF_SIZE | 0 | call->event.funcs | (-1),32 |
| BUF_SIZE | 0 | call->tp | (-1),72 |
| CAPPED_DATA | 0 | call | 1 |
| DATA_SOURCE | 0 | call | $0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &event_mutex | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace_events.c __trace_add_event_dirs() -> __trace_add_new_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tr | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->dir | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->dir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tr->dir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | tr->event_dir | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tr->events.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tr->flags | 64-u32max |
| PARAM_VALUE | 1 | tr->name | 1-u64max |
| PARAM_VALUE | 1 | tr->options->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tr->options->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | *tr->trace_flags_index | 0-255 |
| BUF_SIZE | 1 | tr->current_trace | (-1),168 |
| CAPPED_DATA | 1 | tr->dir | 1 |
| DATA_SOURCE | 1 | tr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tr->array_buffer.tr->range_addr_size | |
| NO_OVERFLOW_SIMPLE | 1 | tr->range_addr_size | |
| NO_OVERFLOW_SIMPLE | 1 | tr->snapshot_buffer.tr->range_addr_size | |
| LOCK2 | global &trace_event_sem | ||
| HALF_LOCKED2 | _T->lock |