Function report |
Source Code:kernel\events\internal.h |
Create Date:2022-07-28 13:31:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__output_copy_user
Proto:static inline unsigned long __output_copy_user(struct perf_output_handle *handle, const void *buf, unsigned long len)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_output_handle * | handle | |
const void * | buf | |
unsigned long | len |
204 | Do |
204 | 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));})) |
204 | written = We rely on the nested NMI work to allow atomic faults from the NMI path; the* nested NMI paths are careful to preserve CR2. |
204 | If Not size Then |
204 | page++ |
204 | page &= nr of data pages - 1 |
204 | addr = data_pages[page] |
204 | size = 1UL << 12 << page_order(rb) |
204 | Return len |
Name | Describe |
---|---|
perf_output_sample_ustack |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |