├── .github └── workflows │ ├── llvm-trunk-linux-mainline.yml │ └── llvm-trunk-linux-v5.15.153.yml ├── README.md ├── ci ├── linux-mainline │ ├── 1_install_deps.sh │ ├── 2_pull_source.sh │ ├── 3_get_llvm.sh │ ├── 4_build_kernel.sh │ └── 5_boot_kernel_and_collect_coverage.sh └── linux-v5.15.153 │ ├── 1_install_deps.sh │ ├── 2_pull_source.sh │ ├── 3_get_llvm.sh │ ├── 4_build_kernel.sh │ └── 5_boot_kernel_and_collect_coverage.sh ├── docs ├── elisa-slides.pdf └── measure-kernel-mcdc.md ├── patches ├── README.md ├── latest ├── v0.4 │ ├── 0000-cover-letter.patch │ ├── 0001-clang_instr_profile-add-Clang-s-Source-based-Code-Co.patch │ ├── 0002-kbuild-clang_instr_profile-disable-instrumentation-i.patch │ └── 0003-clang_instr_profile-add-Clang-s-MC-DC-support.patch ├── v0.5 │ ├── 0000-cover-letter.patch │ ├── 0001-clang_instr_profile-add-Clang-s-Source-based-Code-Co.patch │ ├── 0002-kbuild-clang_instr_profile-disable-instrumentation-i.patch │ ├── 0003-clang_instr_profile-add-Clang-s-MC-DC-support.patch │ └── 0004-kbuild-clang_instr_profile-disable-instrumentation-i.patch ├── v0.6 │ ├── 0000-cover-letter.patch │ ├── 0001-llvm-cov-add-Clang-s-Source-based-Code-Coverage-supp.patch │ ├── 0002-kbuild-llvm-cov-disable-instrumentation-in-odd-or-se.patch │ ├── 0003-llvm-cov-add-Clang-s-MC-DC-support.patch │ ├── 0004-kbuild-llvm-cov-disable-instrumentation-in-odd-or-se.patch │ └── README.md ├── v1.0 │ ├── 0000-cover-letter.patch │ ├── 0001-llvm-cov-add-Clang-s-Source-based-Code-Coverage-supp.patch │ ├── 0002-kbuild-llvm-cov-disable-instrumentation-in-odd-or-se.patch │ ├── 0003-llvm-cov-add-Clang-s-MC-DC-support.patch │ └── README.md ├── v2.0 │ ├── 0000-cover-letter.patch │ ├── 0001-llvm-cov-add-Clang-s-Source-based-Code-Coverage-supp.patch │ ├── 0002-llvm-cov-add-Clang-s-MC-DC-support.patch │ ├── 0003-x86-disable-llvm-cov-instrumentation.patch │ ├── 0004-x86-enable-llvm-cov-support.patch │ └── README.md └── v3.0 │ ├── 0000-cover-letter.patch │ ├── 0001-llvm-cov-add-Clang-s-Source-based-Code-Coverage-supp.patch │ ├── 0002-llvm-cov-add-Clang-s-MC-DC-support.patch │ ├── 0003-x86-disable-llvm-cov-instrumentation.patch │ ├── 0004-x86-enable-llvm-cov-support.patch │ ├── 0005-MAINTAINERS-add-LLVM-COV-BASED-KERNEL-PROFILING-entr.patch │ └── README.md ├── screenshot.png └── scripts ├── build-llvm.sh └── q /.github/workflows/llvm-trunk-linux-mainline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/.github/workflows/llvm-trunk-linux-mainline.yml -------------------------------------------------------------------------------- /.github/workflows/llvm-trunk-linux-v5.15.153.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/.github/workflows/llvm-trunk-linux-v5.15.153.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/README.md -------------------------------------------------------------------------------- /ci/linux-mainline/1_install_deps.sh: -------------------------------------------------------------------------------- 1 | ../linux-v5.15.153/1_install_deps.sh -------------------------------------------------------------------------------- /ci/linux-mainline/2_pull_source.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/ci/linux-mainline/2_pull_source.sh -------------------------------------------------------------------------------- /ci/linux-mainline/3_get_llvm.sh: -------------------------------------------------------------------------------- 1 | ../linux-v5.15.153/3_get_llvm.sh -------------------------------------------------------------------------------- /ci/linux-mainline/4_build_kernel.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/ci/linux-mainline/4_build_kernel.sh -------------------------------------------------------------------------------- /ci/linux-mainline/5_boot_kernel_and_collect_coverage.sh: -------------------------------------------------------------------------------- 1 | ../linux-v5.15.153/5_boot_kernel_and_collect_coverage.sh -------------------------------------------------------------------------------- /ci/linux-v5.15.153/1_install_deps.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/ci/linux-v5.15.153/1_install_deps.sh -------------------------------------------------------------------------------- /ci/linux-v5.15.153/2_pull_source.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/ci/linux-v5.15.153/2_pull_source.sh -------------------------------------------------------------------------------- /ci/linux-v5.15.153/3_get_llvm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/ci/linux-v5.15.153/3_get_llvm.sh -------------------------------------------------------------------------------- /ci/linux-v5.15.153/4_build_kernel.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/ci/linux-v5.15.153/4_build_kernel.sh -------------------------------------------------------------------------------- /ci/linux-v5.15.153/5_boot_kernel_and_collect_coverage.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/ci/linux-v5.15.153/5_boot_kernel_and_collect_coverage.sh -------------------------------------------------------------------------------- /docs/elisa-slides.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/docs/elisa-slides.pdf -------------------------------------------------------------------------------- /docs/measure-kernel-mcdc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/docs/measure-kernel-mcdc.md -------------------------------------------------------------------------------- /patches/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/README.md -------------------------------------------------------------------------------- /patches/latest: -------------------------------------------------------------------------------- 1 | v3.0/ -------------------------------------------------------------------------------- /patches/v0.4/0000-cover-letter.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.4/0000-cover-letter.patch -------------------------------------------------------------------------------- /patches/v0.4/0001-clang_instr_profile-add-Clang-s-Source-based-Code-Co.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.4/0001-clang_instr_profile-add-Clang-s-Source-based-Code-Co.patch -------------------------------------------------------------------------------- /patches/v0.4/0002-kbuild-clang_instr_profile-disable-instrumentation-i.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.4/0002-kbuild-clang_instr_profile-disable-instrumentation-i.patch -------------------------------------------------------------------------------- /patches/v0.4/0003-clang_instr_profile-add-Clang-s-MC-DC-support.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.4/0003-clang_instr_profile-add-Clang-s-MC-DC-support.patch -------------------------------------------------------------------------------- /patches/v0.5/0000-cover-letter.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.5/0000-cover-letter.patch -------------------------------------------------------------------------------- /patches/v0.5/0001-clang_instr_profile-add-Clang-s-Source-based-Code-Co.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.5/0001-clang_instr_profile-add-Clang-s-Source-based-Code-Co.patch -------------------------------------------------------------------------------- /patches/v0.5/0002-kbuild-clang_instr_profile-disable-instrumentation-i.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.5/0002-kbuild-clang_instr_profile-disable-instrumentation-i.patch -------------------------------------------------------------------------------- /patches/v0.5/0003-clang_instr_profile-add-Clang-s-MC-DC-support.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.5/0003-clang_instr_profile-add-Clang-s-MC-DC-support.patch -------------------------------------------------------------------------------- /patches/v0.5/0004-kbuild-clang_instr_profile-disable-instrumentation-i.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.5/0004-kbuild-clang_instr_profile-disable-instrumentation-i.patch -------------------------------------------------------------------------------- /patches/v0.6/0000-cover-letter.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.6/0000-cover-letter.patch -------------------------------------------------------------------------------- /patches/v0.6/0001-llvm-cov-add-Clang-s-Source-based-Code-Coverage-supp.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.6/0001-llvm-cov-add-Clang-s-Source-based-Code-Coverage-supp.patch -------------------------------------------------------------------------------- /patches/v0.6/0002-kbuild-llvm-cov-disable-instrumentation-in-odd-or-se.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.6/0002-kbuild-llvm-cov-disable-instrumentation-in-odd-or-se.patch -------------------------------------------------------------------------------- /patches/v0.6/0003-llvm-cov-add-Clang-s-MC-DC-support.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.6/0003-llvm-cov-add-Clang-s-MC-DC-support.patch -------------------------------------------------------------------------------- /patches/v0.6/0004-kbuild-llvm-cov-disable-instrumentation-in-odd-or-se.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.6/0004-kbuild-llvm-cov-disable-instrumentation-in-odd-or-se.patch -------------------------------------------------------------------------------- /patches/v0.6/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v0.6/README.md -------------------------------------------------------------------------------- /patches/v1.0/0000-cover-letter.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v1.0/0000-cover-letter.patch -------------------------------------------------------------------------------- /patches/v1.0/0001-llvm-cov-add-Clang-s-Source-based-Code-Coverage-supp.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v1.0/0001-llvm-cov-add-Clang-s-Source-based-Code-Coverage-supp.patch -------------------------------------------------------------------------------- /patches/v1.0/0002-kbuild-llvm-cov-disable-instrumentation-in-odd-or-se.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v1.0/0002-kbuild-llvm-cov-disable-instrumentation-in-odd-or-se.patch -------------------------------------------------------------------------------- /patches/v1.0/0003-llvm-cov-add-Clang-s-MC-DC-support.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v1.0/0003-llvm-cov-add-Clang-s-MC-DC-support.patch -------------------------------------------------------------------------------- /patches/v1.0/README.md: -------------------------------------------------------------------------------- 1 | These patches were tested on Linux Kernel 6.11-rc4. 2 | -------------------------------------------------------------------------------- /patches/v2.0/0000-cover-letter.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v2.0/0000-cover-letter.patch -------------------------------------------------------------------------------- /patches/v2.0/0001-llvm-cov-add-Clang-s-Source-based-Code-Coverage-supp.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v2.0/0001-llvm-cov-add-Clang-s-Source-based-Code-Coverage-supp.patch -------------------------------------------------------------------------------- /patches/v2.0/0002-llvm-cov-add-Clang-s-MC-DC-support.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v2.0/0002-llvm-cov-add-Clang-s-MC-DC-support.patch -------------------------------------------------------------------------------- /patches/v2.0/0003-x86-disable-llvm-cov-instrumentation.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v2.0/0003-x86-disable-llvm-cov-instrumentation.patch -------------------------------------------------------------------------------- /patches/v2.0/0004-x86-enable-llvm-cov-support.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v2.0/0004-x86-enable-llvm-cov-support.patch -------------------------------------------------------------------------------- /patches/v2.0/README.md: -------------------------------------------------------------------------------- 1 | These patches were tested on Linux Kernel 6.11-rc6. 2 | -------------------------------------------------------------------------------- /patches/v3.0/0000-cover-letter.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v3.0/0000-cover-letter.patch -------------------------------------------------------------------------------- /patches/v3.0/0001-llvm-cov-add-Clang-s-Source-based-Code-Coverage-supp.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v3.0/0001-llvm-cov-add-Clang-s-Source-based-Code-Coverage-supp.patch -------------------------------------------------------------------------------- /patches/v3.0/0002-llvm-cov-add-Clang-s-MC-DC-support.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v3.0/0002-llvm-cov-add-Clang-s-MC-DC-support.patch -------------------------------------------------------------------------------- /patches/v3.0/0003-x86-disable-llvm-cov-instrumentation.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v3.0/0003-x86-disable-llvm-cov-instrumentation.patch -------------------------------------------------------------------------------- /patches/v3.0/0004-x86-enable-llvm-cov-support.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v3.0/0004-x86-enable-llvm-cov-support.patch -------------------------------------------------------------------------------- /patches/v3.0/0005-MAINTAINERS-add-LLVM-COV-BASED-KERNEL-PROFILING-entr.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/patches/v3.0/0005-MAINTAINERS-add-LLVM-COV-BASED-KERNEL-PROFILING-entr.patch -------------------------------------------------------------------------------- /patches/v3.0/README.md: -------------------------------------------------------------------------------- 1 | These patches were tested on Linux Kernel 6.12-rc2. 2 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/screenshot.png -------------------------------------------------------------------------------- /scripts/build-llvm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/scripts/build-llvm.sh -------------------------------------------------------------------------------- /scripts/q: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xlab-uiuc/linux-mcdc/HEAD/scripts/q --------------------------------------------------------------------------------