Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_pmu_snapshot_aux

Proto:long perf_pmu_snapshot_aux(struct ring_buffer *rb, struct perf_event *event, struct perf_output_handle *handle, unsigned long size)

Type:long

Parameter:

TypeParameterName
struct ring_buffer *rb
struct perf_event *event
struct perf_output_handle *handle
unsigned longsize
6328  local_irq_save(flags)
6333  WRITE_ONCE(aux_in_sampling, 1)
6334  The "volatile" is due to gcc bugs ()
6336  ret = snapshot_aux(event, handle, size)
6338  The "volatile" is due to gcc bugs ()
6339  WRITE_ONCE(aux_in_sampling, 0)
6340  local_irq_restore(flags)
6342  Return ret
Caller
NameDescribe
perf_aux_sample_output