Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:32:02 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Compare function for event groups;* Implements complex key that first sorts by CPU and then by virtual index* which provides ordering when rotating groups for the same CPU.
Proto:static bool perf_event_groups_less(struct perf_event *left, struct perf_event *right)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_event * | left | |
| struct perf_event * | right |
| 1534 | If group_index < group_index Then Return true |
| 1536 | If group_index > group_index Then Return false |
| 1539 | Return false |
| Name | Describe |
|---|---|
| perf_event_groups_insert | Insert @event into @groups' tree; using {@event->cpu, ++@groups->index} for* key (see perf_event_groups_less). This places it last inside the CPU* subtree. |
| 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 |