Function report |
Source Code:kernel\kcov.c |
Create Date:2022-07-28 11:33:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kcov_check_handle
Proto:static inline bool kcov_check_handle(u64 handle, bool common_valid, bool uncommon_valid, bool zero_valid)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| u64 | handle | |
| bool | common_valid | |
| bool | uncommon_valid | |
| bool | zero_valid |
| 531 | If handle & ~(KCOV_SUBSYSTEM_MASK | KCOV_INSTANCE_MASK) Then Return false |
| 534 | Case & == KCOV_SUBSYSTEM_COMMON |
| 535 | Return If handle & KCOV_INSTANCE_MASK Then common_valid Else zero_valid |
| 537 | Case & == KCOV_SUBSYSTEM_USB |
| 538 | Return uncommon_valid |
| 539 | Default |
| 540 | Return false |
| 542 | Return false |
| Name | Describe |
|---|---|
| kcov_ioctl_locked | |
| kcov_remote_start | kcov_remote_start() and kcov_remote_stop() can be used to annotate a section* of code in a kernel background thread to allow kcov to be used to collect* coverage from that part of code |
| 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 |