Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/syscall.c bpf_perf_link_attach() -> perf_event_set_bpf_prog()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 1 | prog->type | 2,5,7 |
| BUF_SIZE | 0 | event | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | event | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | prog | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | prog | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | prog | $1 |