Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:32:21 |
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__id_header_size
Proto:static void perf_event__id_header_size(struct perf_event *event)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event |
1774 | sample_type = sample_type |
1775 | size = 0 |
1777 | If sample_type & PERF_SAMPLE_TID Then size += size of tid_entry |
1780 | If sample_type & PERF_SAMPLE_TIME Then size += size of time |
1783 | If sample_type & PERF_SAMPLE_IDENTIFIER Then size += size of id |
1786 | If sample_type & PERF_SAMPLE_ID Then size += size of id |
1789 | If sample_type & PERF_SAMPLE_STREAM_ID Then size += size of stream_id |
1792 | If sample_type & PERF_SAMPLE_CPU Then size += size of cpu_entry |
1795 | id_header_size = size |
Name | Describe |
---|---|
perf_event_validate_size | |
inherit_event | Inherit an event from parent task to child task.* Returns:* - valid pointer on success* - NULL for orphaned events* - IS_ERR() on error |
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 |