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

package debug information #64

Merged
merged 5 commits into from
May 24, 2024
Merged

package debug information #64

merged 5 commits into from
May 24, 2024

Conversation

lmb
Copy link
Collaborator

@lmb lmb commented Feb 21, 2024

This allows for easier gdb integration, which needs vmlinux with debug symbols and source code.

virtme-configkernel is not used anymore.

Signed-off-by: Lorenz Bauer <[email protected]>
@lmb lmb force-pushed the uncompressed-kernel branch 2 times, most recently from b391855 to 6df7443 Compare May 23, 2024 11:11
Signed-off-by: Lorenz Bauer <[email protected]>
@lmb lmb force-pushed the uncompressed-kernel branch 2 times, most recently from 76e6c5a to 3be0158 Compare May 23, 2024 13:42
lmb added 2 commits May 23, 2024 14:45
This allows for easier gdb integration, which expects an uncompressed
vmlinux.

Enable CONFIG_PVH so that qemu can boot the uncompressed image. Only
available on >= 5.0 kernels.

Disable CONFIG_RANDOMIZE_BASE since KASLR breaks the ability to set
breakpoints in gdb.

Only package source code references by the resulting vmlinux to reduce
the size of the image.

Signed-off-by: Lorenz Bauer <[email protected]>
Signed-off-by: Lorenz Bauer <[email protected]>
@lmb lmb force-pushed the uncompressed-kernel branch 2 times, most recently from b3aadb5 to 6f6a3cb Compare May 23, 2024 15:20
We can currently get into a situation where the selftests tag is
out of sync with the non-selftest one. For example:

    6.8           # on 6.8.X+1
    6.8-selftests # on 6.8.X

This is because we only build selftests for latest and mainline
kernel. Avoid this by only tagging selftests when a static tag
is used.

Also avoid using the same static_tag multiple times due to duplicate
"stable" entries in releases.json.

Signed-off-by: Lorenz Bauer <[email protected]>
@lmb lmb changed the title package uncompressed vmlinux package debug information May 23, 2024
@lmb lmb marked this pull request as ready for review May 24, 2024 08:15
@lmb lmb merged commit 2cf24ef into cilium:main May 24, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant