Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\ring_buffer.c Create Date:2022-07-28 13:42:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:int perf_aux_output_skip(struct perf_output_handle *handle, unsigned long size)

Type:int

Parameter:

TypeParameterName
struct perf_output_handle *handle
unsigned longsize
535  rb = rb
537  If size > size Then Return -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  If rb_need_aux_wakeup(rb) Then
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  Return 0