Function report |
Source Code:kernel\bpf\helpers.c |
Create Date:2022-07-28 13:07:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:____bpf_get_current_comm
Proto:static inline __attribute__((__always_inline__)) u64 ____bpf_get_current_comm(char *buf, u32 size)
Type:u64
Parameter:
Type | Parameter | Name |
---|---|---|
char * | buf | |
u32 | size |
193 | task = current process |
195 | If Value for the false possibility is greater at compile time(!task) Then Go to err_clear |
198 | strncpy(buf, * executable name, excluding path. * - normally initialized setup_new_exec() * - access it with [gs]et_task_comm() * - lock it with task_lock(), size) |
205 | Return 0 |
206 | err_clear : |
208 | Return -EINVAL |
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 |