Displaying 3 results from an estimated 3 matches for "kcov_disable".
Did you mean:
iov_disable
2019 Oct 21
0
[PATCH RFC 1/3] kcov: remote coverage support
...ter it
will be just some random subset of used and unused declarations.
> +
> + #define KCOV_INIT_TRACE _IOR('c', 1, unsigned long)
> + #define KCOV_ENABLE _IO('c', 100)
Same here and for few others below.
> + #define KCOV_DISABLE _IO('c', 101)
> + #define KCOV_REMOTE_ENABLE _IOW('c', 102, struct kcov_remote_arg)
> +
> + #define COVER_SIZE (64 << 10)
> +
> + #define KCOV_TRACE_PC 0
> + #define KCOV_TRACE_CMP 1
> +
> + #define...
2019 Oct 23
0
[PATCH v2 1/3] kcov: remote coverage support
...emote_lock);
> + for (i = 0; i < remote_arg->num_handles; i++) {
> + kcov_debug("handle %llx\n", remote_arg->handles[i]);
> + if (!kcov_check_handle(remote_arg->handles[i],
> + false, true, false)) {
> + spin_unlock(&kcov_remote_lock);
> + kcov_disable(t, kcov);
> + return -EINVAL;
> + }
> + remote = kcov_remote_add(kcov, remote_arg->handles[i]);
> + if (IS_ERR(remote)) {
> + spin_unlock(&kcov_remote_lock);
> + kcov_disable(t, kcov);
> + return PTR_ERR(remote);
> + }
> + }
It's worrisome...
2019 Oct 23
0
[PATCH 0/3] kcov: collect coverage from usb and vhost
...!
> 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
> kcov_remote_start().
> -...