Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:36:27
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:perf_aux_sample_output

Proto:static void perf_aux_sample_output(struct perf_event *event, struct perf_output_handle *handle, struct perf_sample_data *data)

Type:void

Parameter:

TypeParameterName
struct perf_event *event
struct perf_output_handle *handle
struct perf_sample_data *data
6349  sampler = aux_event
6354  If WARN_ON_ONCE(!sampler || !aux_size) Then Return
6357  rb = ring_buffer_get(parent ? parent : sampler)
6358  If Not rb Then Return
6361  size = perf_pmu_snapshot_aux(rb, sampler, handle, aux_size)
6369  If WARN_ON_ONCE(size < 0) Then Go to out_put
6376  pad = aux_size - size
6377  If WARN_ON_ONCE(pad >= sizeof(u64)) Then pad = 8
6380  If pad Then
6381  zero = 0
6382  perf_output_copy(handle, & zero, pad)
6385  out_put :
6386  ring_buffer_put(rb)
Caller
NameDescribe
perf_output_sample