Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:32:13 |
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_read_size
Proto:static void __perf_event_read_size(struct perf_event *event, int nr_siblings)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
int | nr_siblings |
1707 | size = 0 |
1708 | nr = 1 |
1710 | If read_format & PERF_FORMAT_TOTAL_TIME_ENABLED Then size += sizeof(u64) |
1713 | If read_format & PERF_FORMAT_TOTAL_TIME_RUNNING Then size += sizeof(u64) |
1716 | If read_format & PERF_FORMAT_ID Then entry += sizeof(u64) |
1719 | If read_format & PERF_FORMAT_GROUP Then |
1720 | nr += nr_siblings |
Name | Describe |
---|---|
perf_event__header_size | Called at perf_event creation and when events are attached/detached from a* group. |
perf_event_validate_size |
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 |