Displaying 2 results from an estimated 2 matches for "kcov_sequence".
2019 Oct 21
0
[PATCH RFC 1/3] kcov: remote coverage support
...k_struct {
> /* Buffer for coverage collection: */
> void *kcov_area;
>
> + /* KCOV sequence number: */
This comment does not add much. Extend it to explain why we need it
and how it is used.
> + int kcov_sequence;
> +
> /* KCOV descriptor wired with this task or NULL: */
> struct kcov *kcov;
> +
> + /* KCOV handle for remote coverage collection: */
> + u64 kcov_handle;
> #endif
>
> #ifdef CONFIG_MEMCG
&g...
2019 Oct 23
0
[PATCH 0/3] kcov: collect coverage from usb and vhost
...cation 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
> kcov_remote_start().
> - Updated documentation to reflect the changes.
>
> Andrey Konovalov (3):
> kcov: remote coverage support
> usb, kcov: co...