Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:perf_get_aux_event

Proto:static int perf_get_aux_event(struct perf_event *event, struct perf_event *group_leader)

Type:int

Parameter:

TypeParameterName
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
Caller
NameDescribe
inherit_groupInherits 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