函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:56:08
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:perf_pmu_snapshot_aux

函数原型:long perf_pmu_snapshot_aux(struct ring_buffer *rb, struct perf_event *event, struct perf_output_handle *handle, unsigned long size)

返回类型:long

参数:

类型参数名称
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  返回:ret
调用者
名称描述
perf_aux_sample_output