Function report |
Source Code:kernel\events\internal.h |
Create Date:2022-07-28 13:30:52 |
| 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
Proto:static inline unsigned long __output_copy(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 |
| 178 | Do |
| 178 | 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));})) |
| 178 | written = memcpy_common(addr, buf, size) |
| 178 | If Not size Then |
| 178 | page++ |
| 178 | page &= nr of data pages - 1 |
| 178 | addr = data_pages[page] |
| 178 | size = 1UL << 12 << page_order(rb) |
| 178 | Return len |
| Name | Describe |
|---|---|
| perf_output_read_one | |
| perf_output_read_group | |
| perf_output_sample | |
| perf_event_comm_output | |
| perf_event_mmap_output | |
| perf_event_ksymbol_output | |
| perf_output_copy |
| 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 |