Defined in 1 files as a function:
Referenced in 6 files:
- kernel/trace/trace_eprobe.c, line 965
- kernel/trace/trace_events_synth.c, line 1487
- kernel/trace/trace_events_user.c, line 2201
- kernel/trace/trace_fprobe.c
- kernel/trace/trace_kprobe.c
- kernel/trace/trace_uprobe.c
Smatch caller information:
kernel/trace/trace_events_user.c user_event_parse() -> dyn_event_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ev | 4096-ptr_max |
| PARAM_VALUE | 0 | ev->ops | 526112615158566912 |
| PARAM_VALUE | 1 | call | 4096-ptr_max |
| PARAM_VALUE | 1 | call->class | 4096-ptr_max |
| PARAM_VALUE | 1 | call->data | 4096-ptr_max |
| PARAM_VALUE | 1 | call->event.funcs | 4951396332839620608 |
| PARAM_VALUE | 1 | call->event.node.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | call->event.type | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | call->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | call->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | call->module | 0 |
| PARAM_VALUE | 1 | call->name | 4096-ptr_max |
| PARAM_VALUE | 1 | call->print_fmt | 4096-ptr_max |
| PARAM_VALUE | 1 | call->tp | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | global &event_mutex | ||
| HALF_LOCKED2 | &group->reg_mutex | ||
| HALF_LOCKED2 | &group->reg_mutex | ||
| HALF_LOCKED2 | global &dyn_event_ops_mutex | ||
| TYPE_LOCK | (struct user_event_group)->reg_mutex |
kernel/trace/trace_fprobe.c append_trace_fprobe_event() -> dyn_event_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ev | 4096-ptr_max |
| PARAM_VALUE | 1 | call | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
kernel/trace/trace_fprobe.c register_trace_fprobe_event() -> dyn_event_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ev | 4096-ptr_max |
| PARAM_VALUE | 1 | call | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
kernel/trace/trace_events_synth.c __create_synth_event() -> dyn_event_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ev | 4096-ptr_max |
| PARAM_VALUE | 0 | ev->ops | 4578234530493063168 |
| PARAM_VALUE | 1 | call | 4096-ptr_max |
| PARAM_VALUE | 1 | call->class | 4096-ptr_max |
| PARAM_VALUE | 1 | call->data | 4096-ptr_max |
| PARAM_VALUE | 1 | call->event.funcs | 1795979475766509568 |
| PARAM_VALUE | 1 | call->event.node.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | call->event.type | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | call->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | call->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | call->module | 0 |
| PARAM_VALUE | 1 | call->name | 4096-ptr_max |
| PARAM_VALUE | 1 | call->print_fmt | 16,4096-ptr_max |
| PARAM_VALUE | 1 | call->tp | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | global &event_mutex | ||
| HALF_LOCKED2 | global &dyn_event_ops_mutex |
kernel/trace/trace_uprobe.c append_trace_uprobe() -> dyn_event_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ev | 4096-ptr_max |
| PARAM_VALUE | 0 | ev->ops | 2966836992851804160 |
| PARAM_VALUE | 1 | call | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| LOCK2 | global &dyn_event_ops_mutex |
kernel/trace/trace_uprobe.c register_trace_uprobe() -> dyn_event_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ev | 4096-ptr_max |
| PARAM_VALUE | 0 | ev->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ev->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ev->ops | 2966836992851804160 |
| PARAM_VALUE | 1 | call | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| LOCK2 | global &dyn_event_ops_mutex |
kernel/trace/trace_eprobe.c __trace_eprobe_create() -> dyn_event_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ev | 4096-ptr_max |
| PARAM_VALUE | 1 | call | 4096-ptr_max |
| PARAM_VALUE | 1 | call->class | 4096-ptr_max |
| LOCK2 | _T->lock |
kernel/trace/trace_kprobe.c append_trace_kprobe() -> dyn_event_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ev | 4096-ptr_max |
| PARAM_VALUE | 1 | call | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
kernel/trace/trace_kprobe.c register_trace_kprobe() -> dyn_event_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ev | 4096-ptr_max |
| PARAM_VALUE | 1 | call | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |