Skip to content

Commit

Permalink
Merge pull request #98 from plbossart/debug-info
Browse files Browse the repository at this point in the history
debug-info-defconfig: add debug symbols needed by pahole
  • Loading branch information
fredoh9 authored Jun 27, 2024
2 parents ec35dfb + e440353 commit c68d8d6
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
sudo apt update
sudo apt install -y libelf-dev
- name: Install pahole
run: |
sudo apt update
sudo apt install -y pahole
- name: Install debhelper
run: |
sudo apt update
Expand All @@ -54,6 +59,16 @@ jobs:
repository: 'thesofproject/linux'
path: 'linux'

- name: Install libelf
run: |
sudo apt update
sudo apt install -y libelf-dev
- name: Install pahole
run: |
sudo apt update
sudo apt install -y pahole
- name: build start
run: |
export ARCH=i386 KCFLAGS="-Wall -Werror"
Expand Down Expand Up @@ -108,6 +123,11 @@ jobs:
sudo apt update
sudo apt install -y libelf-dev
- name: Install pahole
run: |
sudo apt update
sudo apt install -y pahole
- name: build start
run: |
export ARCH=x86_64 CC=clang KCFLAGS="-Wall -Werror"
Expand Down
3 changes: 3 additions & 0 deletions debug-info-defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
CONFIG_DEBUG_INFO_BTF=y
1 change: 1 addition & 0 deletions kconfig-sof-default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ $COMMAND .config \
"$KCONFIG_DIR"/soundwire-defconfig \
"$KCONFIG_DIR"/soundwire-codecs-defconfig \
"$KCONFIG_DIR"/bpf-defconfig \
"$KCONFIG_DIR"/debug-info-defconfig \
"$@"

0 comments on commit c68d8d6

Please sign in to comment.