Function report |
Source Code:kernel\trace\bpf_trace.c |
Create Date:2022-07-28 12:35:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_probe_read_kernel_str_common
Proto:static __always_inline int bpf_probe_read_kernel_str_common(void *dst, u32 size, const void *unsafe_ptr, const bool compat)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void * | dst | |
u32 | size | |
const void * | unsafe_ptr | |
const bool | compat |
233 | If Value for the false possibility is greater at compile time(ret < 0) Then Go to out |
244 | ret = If compat Then strncpy_from_unsafe(dst, unsafe_ptr, size) Else strncpy_from_unsafe_strict(dst, unsafe_ptr, size) |
246 | If Value for the false possibility is greater at compile time(ret < 0) Then out : |
249 | Return ret |
Name | Describe |
---|---|
____bpf_probe_read_kernel_str | |
____bpf_probe_read_compat_str |
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 |