Function report |
Source Code:kernel\trace\trace_uprobe.c |
Create Date:2022-07-28 12:43:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return the length of string -- including null terminal byte
Proto:static inline __attribute__((__always_inline__)) int fetch_store_strlen(unsigned long addr)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | addr |
| 193 | If addr == FETCH_TOKEN_COMM Then len = strlen - Find the length of a string*@s: The string to be sized + 1 |
| 195 | Else len = Get the size of a string in user space |
| 198 | Return If len > MAX_STRING_SIZE Then 0 Else len |
| Name | Describe |
|---|---|
| fetch_store_strlen_user |
| 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 |