]>
git.ipfire.org Git - thirdparty/kernel/stable.git/blob - include/linux/kcov.h
1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <uapi/linux/kcov.h>
11 void kcov_task_init(struct task_struct
*t
);
12 void kcov_task_exit(struct task_struct
*t
);
15 /* Coverage collection is not enabled yet. */
16 KCOV_MODE_DISABLED
= 0,
18 * Tracing coverage collection mode.
19 * Covered PCs are collected in a per-task buffer.
26 static inline void kcov_task_init(struct task_struct
*t
) {}
27 static inline void kcov_task_exit(struct task_struct
*t
) {}
29 #endif /* CONFIG_KCOV */
30 #endif /* _LINUX_KCOV_H */