Defined in 1 files as a function:
Referenced in 7 files:
- kernel/trace/trace_event_perf.c, line 479
- kernel/trace/trace_events_synth.c, line 652
- kernel/trace/trace_events_user.c, line 1674
- kernel/trace/trace_fprobe.c
- kernel/trace/trace_kprobe.c
- kernel/trace/trace_syscalls.c
- kernel/trace/trace_uprobe.c, line 1447
Smatch caller information:
kernel/trace/trace_events_user.c user_event_perf() -> perf_trace_buf_submit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_data | 4096-ptr_max |
| PARAM_VALUE | 2 | rctx | 0-3 |
| PARAM_VALUE | 4 | count | 1 |
| PARAM_VALUE | 5 | regs | 4096-ptr_max |
| PARAM_VALUE | 5 | regs->cs | 16 |
| PARAM_VALUE | 5 | regs->csx | 16 |
| PARAM_VALUE | 5 | regs->flags | 0 |
| PARAM_VALUE | 6 | head | 4096-ptr_max |
| PARAM_VALUE | 7 | task | 0 |
| DATA_SOURCE | 0 | raw_data | r perf_trace_buf_alloc |
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
kernel/trace/trace_event_perf.c perf_ftrace_function_call() -> perf_trace_buf_submit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_data | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 28 |
| PARAM_VALUE | 2 | rctx | 0-3 |
| PARAM_VALUE | 3 | type | 1 |
| PARAM_VALUE | 4 | count | 1 |
| PARAM_VALUE | 5 | regs | 592830335029227520 |
| PARAM_VALUE | 5 | regs->cs | 16 |
| PARAM_VALUE | 5 | regs->csx | 16 |
| PARAM_VALUE | 5 | regs->flags | 0 |
| PARAM_VALUE | 6 | head | 6588142160386473984 |
| PARAM_VALUE | 7 | task | 0 |
| BUF_SIZE | 6 | head | 8 |
| DATA_SOURCE | 0 | raw_data | r perf_trace_buf_alloc |
| MEM_ZERO | 5 | regs | |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
kernel/trace/trace_fprobe.c fentry_perf_func() -> perf_trace_buf_submit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_data | 4096-ptr_max |
| PARAM_VALUE | 1 | size | (-4)-8192 |
| PARAM_VALUE | 2 | rctx | 0-3 |
| PARAM_VALUE | 4 | count | 1 |
| PARAM_VALUE | 5 | regs | 4096-ptr_max |
| PARAM_VALUE | 5 | regs->cs | 16 |
| PARAM_VALUE | 5 | regs->csx | 16 |
| PARAM_VALUE | 5 | regs->flags | 0 |
| PARAM_VALUE | 6 | head | 4096-ptr_max |
| PARAM_VALUE | 7 | task | 0 |
| DATA_SOURCE | 0 | raw_data | r perf_trace_buf_alloc |
| PARAM_COMPARE | 5 | regs | == $5 |
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | rcu_read |
kernel/trace/trace_fprobe.c fexit_perf_func() -> perf_trace_buf_submit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_data | 4096-ptr_max |
| PARAM_VALUE | 1 | size | (-4)-8192 |
| PARAM_VALUE | 2 | rctx | 0-3 |
| PARAM_VALUE | 4 | count | 1 |
| PARAM_VALUE | 5 | regs | 4096-ptr_max |
| PARAM_VALUE | 5 | regs->cs | 16 |
| PARAM_VALUE | 5 | regs->csx | 16 |
| PARAM_VALUE | 5 | regs->flags | 0 |
| PARAM_VALUE | 6 | head | 4096-ptr_max |
| PARAM_VALUE | 7 | task | 0 |
| DATA_SOURCE | 0 | raw_data | r perf_trace_buf_alloc |
| PARAM_COMPARE | 5 | regs | == $5 |
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
kernel/trace/trace_syscalls.c perf_syscall_enter() -> perf_trace_buf_submit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_data | 4096-ptr_max |
| PARAM_VALUE | 1 | size | (-4)-8192 |
| PARAM_VALUE | 2 | rctx | 0-3 |
| PARAM_VALUE | 4 | count | 1 |
| PARAM_VALUE | 5 | regs | 4096-ptr_max |
| PARAM_VALUE | 6 | head | 4096-ptr_max |
| PARAM_VALUE | 7 | task | 0 |
| DATA_SOURCE | 0 | raw_data | r perf_trace_buf_alloc |
| DATA_SOURCE | 5 | regs | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
kernel/trace/trace_syscalls.c perf_syscall_exit() -> perf_trace_buf_submit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_data | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 28 |
| PARAM_VALUE | 2 | rctx | 0-3 |
| PARAM_VALUE | 4 | count | 1 |
| PARAM_VALUE | 5 | regs | 4096-ptr_max |
| PARAM_VALUE | 6 | head | 4096-ptr_max |
| PARAM_VALUE | 7 | task | 0 |
| DATA_SOURCE | 0 | raw_data | r perf_trace_buf_alloc |
| DATA_SOURCE | 5 | regs | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
kernel/trace/trace_events_synth.c perf_event_raw_event_synth() -> perf_trace_buf_submit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_data | 4096-ptr_max |
| PARAM_VALUE | 2 | rctx | 0-3 |
| PARAM_VALUE | 4 | count | 1 |
| PARAM_VALUE | 5 | regs | 4096-ptr_max |
| PARAM_VALUE | 5 | regs->cs | 16 |
| PARAM_VALUE | 5 | regs->csx | 16 |
| PARAM_VALUE | 5 | regs->flags | 0 |
| PARAM_VALUE | 6 | head | 4096-ptr_max |
| PARAM_VALUE | 7 | task | 0 |
| DATA_SOURCE | 0 | raw_data | r perf_trace_buf_alloc |
| BIT_INFO | 1 | size | 0x0,0xfffffff8 |
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
kernel/trace/trace_uprobe.c __uprobe_perf_func() -> perf_trace_buf_submit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_data | 4096-ptr_max |
| PARAM_VALUE | 1 | size | s32min-8192 |
| PARAM_VALUE | 2 | rctx | 0-3 |
| PARAM_VALUE | 4 | count | 1 |
| PARAM_VALUE | 5 | regs | 4096-ptr_max |
| PARAM_VALUE | 6 | head | 4096-ptr_max |
| PARAM_VALUE | 7 | task | 0 |
| DATA_SOURCE | 0 | raw_data | r perf_trace_buf_alloc |
| DATA_SOURCE | 5 | regs | $2 |
| FUZZY_MAX | 1 | size | 8192 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 5 | regs->ax | 0-u64max |
| USER_DATA | 5 | regs->cx | 0-u64max |
| USER_DATA | 5 | regs->r11 | 0-u64max |
| NO_OVERFLOW_SIMPLE | 5 | regs->dx | |
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &ucb->mutex |
kernel/trace/trace_kprobe.c kprobe_perf_func() -> perf_trace_buf_submit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_data | 4096-ptr_max |
| PARAM_VALUE | 1 | size | (-4)-8192 |
| PARAM_VALUE | 2 | rctx | 0-3 |
| PARAM_VALUE | 4 | count | 1 |
| PARAM_VALUE | 6 | head | 4096-ptr_max |
| PARAM_VALUE | 7 | task | 0 |
| BUF_SIZE | 5 | regs | (-1),168 |
| BUF_SIZE | 5 | regs | (-1),168 |
| DATA_SOURCE | 0 | raw_data | r perf_trace_buf_alloc |
| DATA_SOURCE | 5 | regs | $1 |
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
kernel/trace/trace_kprobe.c kretprobe_perf_func() -> perf_trace_buf_submit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw_data | 4096-ptr_max |
| PARAM_VALUE | 1 | size | (-4)-8192 |
| PARAM_VALUE | 2 | rctx | 0-3 |
| PARAM_VALUE | 4 | count | 1 |
| PARAM_VALUE | 5 | regs | 4096-ptr_max |
| PARAM_VALUE | 5 | regs->cs | 16 |
| PARAM_VALUE | 5 | regs->csx | 16 |
| PARAM_VALUE | 5 | regs->ip | 1-5952596217597046783,5952596217597046785-u64max |
| PARAM_VALUE | 5 | regs->orig_ax | u64max |
| PARAM_VALUE | 6 | head | 4096-ptr_max |
| PARAM_VALUE | 7 | task | 0 |
| DATA_SOURCE | 0 | raw_data | r perf_trace_buf_alloc |
| DATA_SOURCE | 5 | regs | $2 |
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |