Function report |
Source Code:kernel\kcov.c |
Create Date:2022-07-28 11:34:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:void kcov_remote_start(u64 handle)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
u64 | handle |
768 | If WARN_ON(!kcov_check_handle(handle, true, true, true)) Then Return |
772 | t = current process |
780 | kcov_debug("handle = %llx\n", handle) |
782 | spin_lock( & kcov_remote_lock) |
784 | If Not remote Then |
798 | sequence = Sequence is incremented each time kcov is reenabled, used by* kcov_remote_stop(), see the comment there. |
800 | spin_unlock( & kcov_remote_lock) |
802 | If Not area Then |
804 | If Not area Then |
811 | area = 0 |
813 | kcov_debug("area = %px, size = %u", area, size) |
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 |