Function report |
Source Code:kernel\bpf\btf.c |
Create Date:2022-07-28 13:17:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__btf_name_valid
Proto:static bool __btf_name_valid(const struct btf *btf, u32 offset, bool dot_ok)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct btf * | btf | |
| u32 | offset | |
| bool | dot_ok |
| 531 | If Not __btf_name_char_ok( * src, true, dot_ok) Then Return false |
| 535 | src_limit = src + KSYM_NAME_LEN |
| 536 | src++ |
| 538 | If Not __btf_name_char_ok( * src, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., dot_ok) Then Return false |
| 540 | src++ |
| 543 | Return Not src |
| Name | Describe |
|---|---|
| btf_name_valid_identifier | Only C-style identifier is permitted. This can be relaxed if* necessary. |
| btf_name_valid_section | |
| btf_var_check_meta |
| 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 |