Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:38:35 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:perf_event_bpf_event
Proto:void perf_event_bpf_event(struct bpf_prog *prog, enum perf_bpf_event_type type, u16 flags)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_prog * | prog | |
enum perf_bpf_event_type | type | |
u16 | flags |
8285 | If type <= PERF_BPF_EVENT_UNKNOWN || type >= non-ABI Then Return |
8290 | Case type == PERF_BPF_EVENT_PROG_LOAD |
8291 | Case type == PERF_BPF_EVENT_PROG_UNLOAD |
8292 | If atomic_read( & nr_ksymbol_events) Then perf_event_bpf_emit_ksymbols(prog, type) |
8294 | Break |
8295 | Default |
8296 | Break |
8299 | If Not atomic_read( & nr_bpf_events) Then Return |
8302 | bpf_event = (struct perf_bpf_event){prog = prog, event_id = {header = {type = PERF_RECORD_BPF_EVENT, size = size of event_id , }, type = type, flags = flags, id = id, }, } |
8317 | No 3D Now!(tag, tag, BPF_TAG_SIZE) |
Name | Describe |
---|---|
bpf_prog_load |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |