Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:32:30 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:perf_get_aux_event
Proto:static int perf_get_aux_event(struct perf_event *event, struct perf_event *group_leader)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
struct perf_event * | group_leader |
1959 | If Not group_leader Then Return 0 |
1965 | If aux_output && aux_sample_size Then Return 0 |
1968 | If aux_output && Not perf_aux_output_match(event, group_leader) Then Return 0 |
1972 | If aux_sample_size && Not snapshot_aux Then Return 0 |
1975 | If Not atomic_long_inc_not_zero( & refcount) Then Return 0 |
1984 | aux_event = group_leader |
1986 | Return 1 |
Name | Describe |
---|---|
inherit_group | Inherits an event group.* This will quietly suppress orphaned events; !inherit_event() is not an error.* This matches with perf_event_release_kernel() removing all child events.* Returns:* - 0 on success* - <0 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 |