Skip to content

Commit c68d8d6

Browse files
authored
Merge pull request #98 from plbossart/debug-info
debug-info-defconfig: add debug symbols needed by pahole
2 parents ec35dfb + e440353 commit c68d8d6

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/buildtest.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
sudo apt update
2929
sudo apt install -y libelf-dev
3030
31+
- name: Install pahole
32+
run: |
33+
sudo apt update
34+
sudo apt install -y pahole
35+
3136
- name: Install debhelper
3237
run: |
3338
sudo apt update
@@ -54,6 +59,16 @@ jobs:
5459
repository: 'thesofproject/linux'
5560
path: 'linux'
5661

62+
- name: Install libelf
63+
run: |
64+
sudo apt update
65+
sudo apt install -y libelf-dev
66+
67+
- name: Install pahole
68+
run: |
69+
sudo apt update
70+
sudo apt install -y pahole
71+
5772
- name: build start
5873
run: |
5974
export ARCH=i386 KCFLAGS="-Wall -Werror"
@@ -108,6 +123,11 @@ jobs:
108123
sudo apt update
109124
sudo apt install -y libelf-dev
110125
126+
- name: Install pahole
127+
run: |
128+
sudo apt update
129+
sudo apt install -y pahole
130+
111131
- name: build start
112132
run: |
113133
export ARCH=x86_64 CC=clang KCFLAGS="-Wall -Werror"

debug-info-defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_DEBUG_INFO=y
2+
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
3+
CONFIG_DEBUG_INFO_BTF=y

kconfig-sof-default.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ $COMMAND .config \
2323
"$KCONFIG_DIR"/soundwire-defconfig \
2424
"$KCONFIG_DIR"/soundwire-codecs-defconfig \
2525
"$KCONFIG_DIR"/bpf-defconfig \
26+
"$KCONFIG_DIR"/debug-info-defconfig \
2627
"$@"

0 commit comments

Comments
 (0)