Home
last modified time | relevance | path

Searched refs:kcov (Results 1 – 16 of 16) sorted by relevance

/linux/kernel/
H A Dkcov.c48 struct kcov { struct
83 struct kcov *kcov; member
98 struct kcov *saved_kcov;
119 static struct kcov_remote *kcov_remote_add(struct kcov *kcov, u64 handle) in kcov_remote_add() argument
129 remote->kcov = kcov; in kcov_remote_add()
356 static void kcov_start(struct task_struct *t, struct kcov *kcov, in kcov_start() argument
361 t->kcov = kcov; in kcov_start()
375 t->kcov = NULL; in kcov_stop()
393 static void kcov_reset(struct kcov *kcov) in kcov_reset() argument
395 kcov->t = NULL; in kcov_reset()
[all …]
H A DMakefile90 obj-$(CONFIG_KCOV) += kcov.o
/linux/scripts/
H A DMakefile.kcov2 kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC) += -fsanitize-coverage=trace-pc
3 kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -fsanitize-coverage=trace-cmp
4 kcov-flags-$(CONFIG_GCC_PLUGIN_SANCOV) += -fplugin=$(objtree)/scripts/gcc-plugins/sancov_plugin.so
6 export CFLAGS_KCOV := $(kcov-flags-y)
/linux/Documentation/translations/zh_CN/dev-tools/
H A Dkcov.rst5 :Original: Documentation/dev-tools/kcov.rst
12 一个正在运行的内核的覆盖率数据可以通过 ``kcov`` 调试文件导出。覆盖率的收集是基
79 fd = open("/sys/kernel/debug/kcov", O_RDWR);
132 ``/sys/kernel/debug/kcov``。
135 ``/sys/kernel/debug/kcov``,启用了追踪模式,映射了覆盖率缓冲区,然后在一个循
168 fd = open("/sys/kernel/debug/kcov", O_RDWR);
317 fd = open("/sys/kernel/debug/kcov", O_RDWR);
H A Dindex.rst23 kcov
H A Dtesting-overview.rst78 Documentation/dev-tools/kcov.rst 是能够构建在内核之中,用于在每个任务
/linux/Documentation/features/debug/kcov/
H A Darch-support.txt2 # Feature name: kcov
4 # description: arch supports kcov for coverage-guided fuzzing
/linux/Documentation/dev-tools/
H A Dkcov.rst6 the ``kcov`` debugfs file. Coverage collection is enabled on a task basis, and
79 fd = open("/sys/kernel/debug/kcov", O_RDWR);
132 it needs to open ``/sys/kernel/debug/kcov`` in each thread separately.
135 That is, a parent process opens ``/sys/kernel/debug/kcov``, enables trace mode,
169 fd = open("/sys/kernel/debug/kcov", O_RDWR);
332 fd = open("/sys/kernel/debug/kcov", O_RDWR);
H A Dindex.rst22 kcov
H A Dtesting-overview.rst79 Documentation/dev-tools/kcov.rst is a feature which can be built in to the
/linux/Documentation/translations/zh_TW/dev-tools/
H A Dindex.rst35 - kcov
H A Dtesting-overview.rst78 Documentation/dev-tools/kcov.rst 是能夠構建在內核之中,用於在每個任務
/linux/include/linux/
H A Dsched.h1484 struct kcov *kcov; member
/linux/
H A DMakefile1080 include-$(CONFIG_KCOV) += scripts/Makefile.kcov
H A DMAINTAINERS12396 F: Documentation/dev-tools/kcov.rst
12397 F: include/linux/kcov.h
12398 F: include/uapi/linux/kcov.h
12399 F: kernel/kcov.c
12400 F: scripts/Makefile.kcov
/linux/lib/
H A DKconfig.debug2152 For more details, see Documentation/dev-tools/kcov.rst.