Displaying 2 results from an estimated 2 matches for "kcov_ioctl_lock".
Did you mean:
kcov_ioctl_locked
2019 Oct 21
0
[PATCH RFC 1/3] kcov: remote coverage support
...check_kcov_mode(enum kcov_mode needed_mode, struct task_stru
> * in_interrupt() returns false (e.g. preempt_schedule_irq()).
> * READ_ONCE()/barrier() effectively provides load-acquire wrt
> * interrupts, there are paired barrier()/WRITE_ONCE() in
> - * kcov_ioctl_locked().
> + * kcov_start().
> */
> barrier();
> return mode == needed_mode;
> @@ -227,6 +305,69 @@ void notrace __sanitizer_cov_trace_switch(u64 val, u64 *cases)
> EXPORT_SYMBOL(__sanitizer_cov_trace_switch);
> #endif /* ifdef CONFIG_KCOV_ENABLE_C...
2019 Oct 23
0
[PATCH 0/3] kcov: collect coverage from usb and vhost
...it 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: collect coverage from hub_event
> vhost, kcov: collect coverage from vhost_worker
>
> Documentation/dev-tools...