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

DLPX-88183 Generate BTF data for ZFS kernel module during git-zfs-make #740

Merged
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,18 @@
delay: 30
register: result
until: result is succeeded

- shell: ls /lib/modules
register: kernel_versions

#
# In order to generate BTF data when building the ZFS kernel module
# through git-zfs-make we need to provide a symlink of our vmlinux
# (with debug info) in the kernel header source directory which is
# referenced during the kernel module's compilation.
#
- ansible.builtin.file:
src: '/usr/lib/debug/boot/vmlinux-{{ item }}'
dest: '/usr/src/linux-headers-{{ item }}/vmlinux'
state: link
loop: '{{ kernel_versions.stdout_lines }}'