函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\ring_buffer.c Create Date:2022-07-27 15:03:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Skip over a given number of bytes in the AUX buffer, due to, for example,* hardware's alignment constraints.

函数原型:int perf_aux_output_skip(struct perf_output_handle *handle, unsigned long size)

返回类型:int

参数:

类型参数名称
struct perf_output_handle *handle
unsigned longsize
535  rb等于rb
537  如果size大于size则返回:负ENOSPC
540  AUX area 加等于size
542  WRITE_ONCE(AUX area is defined by aux_{offset,size} fields that should be set* by the userspace, so that* aux_offset >= data_offset + data_size* prior to mmap()ing it, AUX area )
543  如果rb_need_aux_wakeup(rb)则
544  perf_output_wakeup(handle)
545  wakeup等于 last aux_watermark boundary crossed by aux_head aux_watermark
548  head等于 AUX area
549  size减等于size
551  返回:0