Skip to content

Merge branch 'master' into '6.0/stage' #17

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

Merged
merged 23 commits into from
Jul 29, 2020
Merged

Merge branch 'master' into '6.0/stage' #17

merged 23 commits into from
Jul 29, 2020

Conversation

github-actions[bot]
Copy link

No description provided.

osandov and others added 14 commits July 8, 2020 22:07
Really it's more of a test program than an example program. It's useful
for benchmarking, testing with valgrind, etc. It's not built by default,
but it can be built manually with:

  $ make -C build/temp.* examples/load_debug_info

And run with:

  $ ./build/temp.*/examples/load_debug_info

Signed-off-by: Omar Sandoval <[email protected]>
It's awkward to make callers cast to char *.

Signed-off-by: Omar Sandoval <[email protected]>
Variables can have a non-default endianity. Handle it and clean up
variable endian handling.

Signed-off-by: Omar Sandoval <[email protected]>
Compile-time constants have DW_AT_const_value instead of DW_AT_location.
We can translate those to a value object.

Signed-off-by: Omar Sandoval <[email protected]>
setuptools recently started warning if distutils is imported before it.

Signed-off-by: Omar Sandoval <[email protected]>
posix_memalign() doesn't have the restriction that the size must be a
multiple of the alignment like aligned_alloc() does in C11.

Signed-off-by: Omar Sandoval <[email protected]>
The only major change to the folly F14 implementation since I originally
ported it is commit 3d169f4365cf ("memory savings for F14 tables with
explicit reserve()"). That is a small improvement for small tables and a
large improvement for vector tables, which are about to be added.

Signed-off-by: Omar Sandoval <[email protected]>
The folly F14 implementation provides 3 storage policies: value, node,
and vector. The default F14FastMap/F14FastSet chooses between the value
and vector policies based on the value size.

We currently only implement the value policy, as the node policy is easy
to emulate and the vector policy would've added more complexity. This
adds support for the vector policy (adding even more C abuse :) and
automatically chooses the policy the same way as folly. It'd be easy to
add a way to choose the policy if needed.

Signed-off-by: Omar Sandoval <[email protected]>
Clean up the coding style of the remaining few places that the last
couple of changes didn't rewrite.

Signed-off-by: Omar Sandoval <[email protected]>
osandov and others added 6 commits July 27, 2020 11:56
drgn.h is generated from drgn.h.in since commit d60c6a1 ("libdrgn:
add register information to platform").

Signed-off-by: Omar Sandoval <[email protected]>
3.16 is EOL and no longer included in the list of releases.

Signed-off-by: Omar Sandoval <[email protected]>
My work VPN is apparently closing HTTP connections prematurely, which
exposed that urllib won't catch incomplete reads if copied through
shutil.copyfileobj(). Check it explicitly.

Signed-off-by: Omar Sandoval <[email protected]>
Make the KASLR offset available to Python in a new
drgn.helpers.linux.boot module, and move pgtable_l5_enabled() there,
too.

Signed-off-by: Omar Sandoval <[email protected]>
Signed-off-by: Omar Sandoval <[email protected]>
@sdimitro sdimitro requested a review from prakashsurya July 28, 2020 03:38
osandov and others added 3 commits July 27, 2020 23:28
PyPI's RST parser apparently doesn't know the highlight directive, which
snuck into the README in commit 4de147e ("Add CONTRIBUTING.rst").
Use code-block instead.

Signed-off-by: Omar Sandoval <[email protected]>
Signed-off-by: Omar Sandoval <[email protected]>
@prakashsurya prakashsurya merged commit deb4822 into 6.0/stage Jul 29, 2020
delphix-devops-bot pushed a commit that referenced this pull request Feb 1, 2025
We have a very old feature request to support searching for vmlinux and
kernel modules in a directory specified by the user. This is useful, for
example, if someone is given a vmcore and the corresponding kernel
files. Now that we have the flexibility of the module and debug info
options APIs, we can finally support it and add a command line option.

Closes #17.

Signed-off-by: Omar Sandoval <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants