generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Release v0.6.0 #43
Merged
Merged
Release v0.6.0 #43
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There have been a few ways of getting the current task on a CPU, but the correct way is drgn's cpu_curr(). Standardize on that, and get rid of the unnecessary helper get_current_task(). Signed-off-by: Stephen Brennan <[email protected]>
The print_all_irqs() function already existed thanks to Imran. Just wrap it in a corelens module to make it available. Signed-off-by: Stephen Brennan <[email protected]>
For posterity: I used sphinx-apidoc to automatically generate the file, and then made some quick changes to it. Signed-off-by: Stephen Brennan <[email protected]>
oracle-contributor-agreement
bot
added
the
OCA Verified
All contributors have signed the Oracle Contributor Agreement.
label
Dec 5, 2023
Signed-off-by: Stephen Brennan <[email protected]>
brenns10
force-pushed
the
release_0.6.0
branch
from
December 5, 2023 22:59
81978ba
to
32d8fe6
Compare
The node_zones array can never have a null entry (it is an array of structs, not pointers). Instead, rely on the nr_zones field alongside it. Signed-off-by: Stephen Brennan <[email protected]>
Signed-off-by: Stephen Brennan <[email protected]>
Signed-off-by: Stephen Brennan <[email protected]>
Signed-off-by: Stephen Brennan <[email protected]>
The litevm tests are trivial to run with CTF: the CTF information is right there in the kernel RPM which gets mounted to /lib/modules in the VM. For vmcore tests, we must manually load the CTF path, vmlinux.ctfa, in the vmcore directory. To support this, updated the conftest with relevant configuration and parsing. Then, add a --ctf flag to both the vmcore and the litevm test runners. Note that this doesn't mean that we are running tests with CTF on any CI. The CI commands still need to be adjusted to run CTF, and the CI systems themselves aren't yet configured to install a CTF enabled version of drgn. However, this means that I can manually run the drgn-tools test suite against CTF enabled drgn builds, which is very helpful for finding bugs. Signed-off-by: Stephen Brennan <[email protected]>
Signed-off-by: Stephen Brennan <[email protected]>
brenns10
force-pushed
the
release_0.6.0
branch
from
December 8, 2023 17:22
32d8fe6
to
f7cd52a
Compare
biger410
approved these changes
Dec 8, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request is again a bit of a mixture.
cpu_curr()
for getting the current task, as it's the correct way.ps
command will succeed when running as part of a bulkcorelens
run (set default arg to-m
).