Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gcov #107

Merged
merged 2 commits into from
Mar 25, 2021
Merged

Gcov #107

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,25 @@ jobs:
name: output_artifact
- name: Boot Test
run: ./check_logs.py
_044b68165327772b2a5ec251950105f5:
runs-on: ubuntu-20.04
needs: kick_tuxsuite_defconfigs
name: ARCH=x86_64 LLVM=1 LLVM_IAS=1 LLVM_VERSION=13 defconfig+CONFIG_GCOV_KERNEL=y+CONFIG_GCOV_PROFILE_ALL=y
env:
ARCH: x86_64
LLVM_VERSION: 13
INSTALL_DEPS: 1
BOOT: 1
CONFIG: defconfig+CONFIG_GCOV_KERNEL=y+CONFIG_GCOV_PROFILE_ALL=y
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/download-artifact@v2
with:
name: output_artifact
- name: Boot Test
run: ./check_logs.py
_a11abf02e18322177d92417220207cb8:
runs-on: ubuntu-20.04
needs: kick_tuxsuite_defconfigs
Expand Down
2 changes: 2 additions & 0 deletions generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ configs:
- &x86_64_allmod_lto {config: [allmodconfig, CONFIG_GCOV_KERNEL=n, CONFIG_KASAN=n, CONFIG_LTO_CLANG_THIN=y], << : *kernel_modules}
- &x86_64_allno {config: allnoconfig, << : *kernel_modules}
- &x86_64_allyes {config: allyesconfig, << : *kernel_modules}
- &x86_64_gcov {config: [defconfig, CONFIG_GCOV_KERNEL=y, CONFIG_GCOV_PROFILE_ALL=y], << : *kernel_modules}
tiers:
# Generic tiers LLVM=1 LLVM_IAS=1 Make variables to pass to TuxSuite
- &llvm_full {llvm: true, llvm_ias: true, make_variables: {LLVM: 1, LLVM_IAS: 1}}
Expand Down Expand Up @@ -185,6 +186,7 @@ builds:
- {<< : *x86_64_allmod_lto, << : *next, << : *llvm_full, boot: false, llvm_version: *llvm_tot}
- {<< : *x86_64_allno, << : *next, << : *llvm_full, boot: false, llvm_version: *llvm_tot}
- {<< : *x86_64_allyes, << : *next, << : *llvm_full, boot: false, llvm_version: *llvm_tot}
- {<< : *x86_64_gcov, << : *next, << : *llvm_full, boot: true, llvm_version: *llvm_tot}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

d'oh, when rebasing, I fixed the indentation of the first hunk but not this. Oh well.

############
# 5.10.y #
############
Expand Down
15 changes: 15 additions & 0 deletions tuxsuite/next.tux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,21 @@ sets:
make_variables:
LLVM: 1
LLVM_IAS: 1
- git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git_ref: master
target_arch: x86_64
toolchain: clang-nightly
kconfig:
- defconfig
- CONFIG_GCOV_KERNEL=y
- CONFIG_GCOV_PROFILE_ALL=y
targets:
- config
- kernel
- modules
make_variables:
LLVM: 1
LLVM_IAS: 1
- git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git_ref: master
target_arch: arm
Expand Down