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

Store vmlinux for builds #509

Open
broonie opened this issue Jan 27, 2025 · 4 comments
Open

Store vmlinux for builds #509

broonie opened this issue Jan 27, 2025 · 4 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request techdebt

Comments

@broonie
Copy link
Member

broonie commented Jan 27, 2025

Currently we do not store the vmlinux generated as part of the kernel build, having access to it can be very useful when debugging issues especially those that generate stacktraces since ./scrupts/decode_stacktrace.sh can use it to translate log messages with addresses:

<4>[ 62.189031] do_el0_svc_compat+0x24/0x48

into references to the file and line number the relevant code was generated from:

<4>[ 62.189031] do_el0_svc_compat (arch/arm64/kernel/syscall.c:159)

In the past with the old storage server we didn't save vmlinux since it tends to be quite large even compressed, with the new storage implementation it should be a lot easier to handle storing the vmlinux so we should revisit this.

@broonie
Copy link
Member Author

broonie commented Jan 27, 2025

@nuclearcat nuclearcat added bug Something isn't working enhancement New feature or request techdebt labels Jan 27, 2025
@nuclearcat
Copy link
Member

Will proceed. I think to find some reasonable tradeoff, do you think it is enough to store vmlinux for 1 month only or we need to store it 6 month as all other data?

@nuclearcat nuclearcat self-assigned this Jan 27, 2025
@gctucker
Copy link
Contributor

See also: kernelci/kernelci-core#1637

@gctucker
Copy link
Contributor

I can't find any GitHub issue about the idea of running post-processing jobs to add extra debug information and decode stacktraces but I've replied to the email thread to explain the idea. This was proposed a few years ago when the new API design was being worked on as the legacy Jenkins system wasn't a good base for adding this kind of feature. Then a more recent idea is to generalise this with dynamic scheduling to decide which builds and tests to run based on results as they come in. I should be writing a blog post about this in the near future too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request techdebt
Projects
None yet
Development

No branches or pull requests

3 participants