Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:38:15 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Lost/dropped samples logging
Proto:void perf_log_lost_samples(struct perf_event *event, u64 lost)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
u64 | lost |
7966 | struct{struct perf_event_header header;u64 lost;}lost_samples_event = {header = {type = PERF_RECORD_LOST_SAMPLES, misc = 0, size = size of lost_samples_event , }, lost = lost, } |
7978 | perf_event_header__init_id( & header, & sample, event) |
7980 | ret = perf_output_begin( & handle, event, size) |
7982 | If ret Then Return |
7985 | perf_output_put( & handle, lost_samples_event) |
7986 | perf_event__output_id_sample(event, & handle, & sample) |
7987 | perf_output_end( & handle) |
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 |