search for: kcov_remote_arg

Displaying 3 results from an estimated 3 matches for "kcov_remote_arg".

2019 Oct 21
0
[PATCH RFC 1/3] kcov: remote coverage support
...> To enable collecting coverage from a global background thread, a unique > global id must be assigned and passed to the corresponding > kcov_remote_start annotation call. Then a userspace process can pass this > id to the KCOV_REMOTE_ENABLE ioctl in the handles array field of the > kcov_remote_arg struct. This will attach kcov device to the code section, > that is referenced by this id. Multiple ids can be targeted with the same > kcov device simultaneously. > > Since there might be many local background threads spawned from different > userspace processes, we can't use a...
2019 Oct 23
0
[PATCH v2 1/3] kcov: remote coverage support
...nable collecting coverage from a global background thread, a unique > global handle must be assigned and passed to the corresponding > kcov_remote_start() call. Then a userspace process can pass a list of such > handles to the KCOV_REMOTE_ENABLE ioctl in the handles array field of the > kcov_remote_arg struct. This will attach the used kcov device to the code > sections, that are referenced by those handles. > > Since there might be many local background threads spawned from different > userspace processes, we can't use a single global handle per annotation. > Instead, the use...
2019 Oct 23
0
[PATCH 0/3] kcov: collect coverage from usb and vhost
...xt and smart in-line colouring! > Changes from RFC v1: > - Remove unnecessary #ifdef's from drivers/vhost/vhost.c. > - Reset t->kcov when area allocation fails in kcov_remote_start(). > - Use struct_size to calculate array size in kcov_ioctl(). > - Add a limit on area_size in kcov_remote_arg. > - Added kcov_disable() helper. > - Changed encoding of kcov remote handle ids, see the documentation. > - Added a comment reference for kcov_sequence task_struct field. > - Change common_handle type to u32. > - Add checks for handle validity into kcov_ioctl_locked() and > k...