Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__output_skip

Proto:static inline unsigned long __output_skip(struct perf_output_handle *handle, const void *buf, unsigned long len)

Type:unsigned long

Parameter:

TypeParameterName
struct perf_output_handle *handle
const void *buf
unsigned longlen
186  Do
186  size = __builtin_choose_expr(((!!( size of 1 == 1 )) && ((sizeof(int) == size of *If 8 Then size * 0l Else 8 ) && (sizeof(int) == size of *If 8 Then len * 0l Else 8 ))), ((size) < (len) ? (size) : (len)), ({typeof(size)__UNIQUE_ID___x = (size);typeof(len)__UNIQUE_ID___y = (len);((__UNIQUE_ID___x) < (__UNIQUE_ID___y) ? (__UNIQUE_ID___x) : (__UNIQUE_ID___y));}))
186  written = memcpy_skip(addr, buf, size)
186  written = size - written
186  len -= written
186  addr += written
186  If (true) Then buf += written
186  size -= written
186  If Not size Then
186  rb = rb
186  page++
186  addr = data_pages[page]
186  size = 1UL << 12 << page_order(rb)
186  When len && written == size cycle
186  Return len
Caller
NameDescribe
perf_output_sample
perf_output_skip