Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/trace_events.h, line 840 (as a function)
- kernel/trace/bpf_trace.c, line 2209 (as a function)
Referenced in 1 files:
Smatch caller information:
kernel/bpf/syscall.c bpf_perf_link_fdinfo_kprobe() -> bpf_get_perf_event_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4096-ptr_max |
| PARAM_VALUE | 0 | event->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | event->prog->type | 2 |
| PARAM_VALUE | 0 | event->tp_event | 4096-ptr_max |
| PARAM_VALUE | 0 | event->tp_event->flags | s32min-(-1),32-s32max |
| PARAM_VALUE | 1 | prog_id | 2059155335092723712 |
| PARAM_VALUE | 2 | fd_type | 3242093926043009024 |
| PARAM_VALUE | 3 | buf | 1814693518210404352 |
| PARAM_VALUE | 4 | probe_offset | 743747585446207488 |
| PARAM_VALUE | 5 | probe_addr | 6168595527170994176 |
| PARAM_VALUE | 6 | missed | 4968874638988091392 |
| BUF_SIZE | 0 | event | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | event | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | event | $0 |
| BIT_INFO | 0 | event->tp_event->flags | 0x20,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/bpf/syscall.c bpf_perf_link_fdinfo_uprobe() -> bpf_get_perf_event_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4096-ptr_max |
| PARAM_VALUE | 0 | event->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | event->prog->type | 2 |
| PARAM_VALUE | 0 | event->tp_event | 4096-ptr_max |
| PARAM_VALUE | 0 | event->tp_event->flags | s32min-(-1),64-s32max |
| PARAM_VALUE | 1 | prog_id | 2319850121839190016 |
| PARAM_VALUE | 2 | fd_type | 6931026716785770496 |
| PARAM_VALUE | 3 | buf | 213420039866183680 |
| PARAM_VALUE | 4 | probe_offset | 6477764752592924672 |
| PARAM_VALUE | 5 | probe_addr | 5482773245110796288 |
| PARAM_VALUE | 6 | missed | 6729335875774541824 |
| BUF_SIZE | 0 | event | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | event | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | event | $0 |
| BIT_INFO | 0 | event->tp_event->flags | 0x40,0xffffffdf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/bpf/syscall.c bpf_perf_link_fill_common() -> bpf_get_perf_event_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4096-ptr_max |
| PARAM_VALUE | 0 | event->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | event->prog->type | 2,5 |
| PARAM_VALUE | 1 | prog_id | 2350263885359935488 |
| PARAM_VALUE | 2 | fd_type | 0,4440522952059707392,7796042314298732544 |
| PARAM_VALUE | 3 | buf | 7329292532997537792 |
| PARAM_VALUE | 4 | probe_offset | 0,367785776379101184,4483073535643807744 |
| PARAM_VALUE | 5 | probe_addr | 0,4958702350515458048,8590910587359932416 |
| PARAM_VALUE | 6 | missed | 0,8005662762587467776 |
| BUF_SIZE | 0 | event | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | event | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | event | $0 |
| DATA_SOURCE | 2 | fd_type | $5 |
| DATA_SOURCE | 4 | probe_offset | $3 |
| DATA_SOURCE | 5 | probe_addr | $4 |
| DATA_SOURCE | 6 | missed | $6 |
| HARD_MAX | 0 | event->prog->type | 5 |
kernel/bpf/syscall.c bpf_task_fd_query() -> bpf_get_perf_event_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 0-ptr_max |
| PARAM_VALUE | 1 | prog_id | 2082355040378933248 |
| PARAM_VALUE | 2 | fd_type | 2185489970832637952 |
| PARAM_VALUE | 3 | buf | 8494239145727758336 |
| PARAM_VALUE | 4 | probe_offset | 7335170802283581440 |
| PARAM_VALUE | 5 | probe_addr | 6348327155037257728 |
| PARAM_VALUE | 6 | missed | 0 |
| BUF_SIZE | 0 | event | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | event | s32min-(-2),1-s32max |
| CAPABLE | 0 | 21 |
kernel/bpf/syscall.c bpf_tracepoint_link_show_fdinfo() -> bpf_get_perf_event_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4096-ptr_max |
| PARAM_VALUE | 0 | event->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | event->prog->type | 5 |
| PARAM_VALUE | 1 | prog_id | 5677094181662883840 |
| PARAM_VALUE | 2 | fd_type | 0 |
| PARAM_VALUE | 3 | buf | 9116261201604792320 |
| PARAM_VALUE | 4 | probe_offset | 0 |
| PARAM_VALUE | 5 | probe_addr | 0 |
| PARAM_VALUE | 6 | missed | 0 |
| BUF_SIZE | 0 | event | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | event | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | event | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |