cregit-Linux how code gets into the kernel

Release 4.7 include/linux/kcov.h

Directory: include/linux
#ifndef _LINUX_KCOV_H

#define _LINUX_KCOV_H

#include <uapi/linux/kcov.h>

struct task_struct;

#ifdef CONFIG_KCOV

void kcov_task_init(struct task_struct *t);
void kcov_task_exit(struct task_struct *t);


enum kcov_mode {
	/* Coverage collection is not enabled yet. */
	
KCOV_MODE_DISABLED = 0,
	/*
         * Tracing coverage collection mode.
         * Covered PCs are collected in a per-task buffer.
         */
	
KCOV_MODE_TRACE = 1,
};

#else


static inline void kcov_task_init(struct task_struct *t) {}

Contributors

PersonTokensPropCommitsCommitProp
dmitriy vyukovdmitriy vyukov11100.00%1100.00%
Total11100.00%1100.00%


static inline void kcov_task_exit(struct task_struct *t) {}

Contributors

PersonTokensPropCommitsCommitProp
dmitriy vyukovdmitriy vyukov11100.00%1100.00%
Total11100.00%1100.00%

#endif /* CONFIG_KCOV */ #endif /* _LINUX_KCOV_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
dmitriy vyukovdmitriy vyukov77100.00%1100.00%
Total77100.00%1100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}