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-90130 update-package failed with a merge conflict in the drgn branch #59

Merged

Commits on Mar 1, 2024

  1. Run mypy on future tools

    Add the tools directory to the mypy pre-commit configuration.
    bpf_inspect.py has a bunch of mypy errors, so we'll opt it out for now.
    
    Signed-off-by: Omar Sandoval <[email protected]>
    osandov committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    6eae1d3 View commit details
    Browse the repository at this point in the history
  2. tests: allow fork_and_sigwait() to pass arguments to function

    Signed-off-by: Omar Sandoval <[email protected]>
    osandov committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    586ca27 View commit details
    Browse the repository at this point in the history
  3. vmtest.config: enable config options for upcoming tool

    Signed-off-by: Omar Sandoval <[email protected]>
    osandov committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    45a2f32 View commit details
    Browse the repository at this point in the history
  4. vmtest.config: fix grammatical error in comment

    Signed-off-by: Omar Sandoval <[email protected]>
    osandov committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    0e4d694 View commit details
    Browse the repository at this point in the history
  5. tests: use virtio-blk instead of loop for Linux block helper tests

    Now that we enable CONFIG_VIRTIO_BLK in our kconfig, there's no need to
    use a loop device. Configure a virtio-blk device in vmtest.vm so that
    the block helper tests have a disk to test with.
    
    Signed-off-by: Omar Sandoval <[email protected]>
    osandov committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    a337e9f View commit details
    Browse the repository at this point in the history
  6. tools: add fsrefs.py

    My team and I have investigated many issues that turned out to be caused
    by a stray reference to a file or filesystem, either by user error or
    due to a kernel bug. Userspace tools like lsof and fuser can't find all
    of these. This adds a drgn-based tool similar to lsof/fuser. This
    initial version only checks the basics: file descriptors, task working
    directories, task root directories, task executables, and VMAs. Upcoming
    changes will check additional, more obscure places.
    
    Signed-off-by: Omar Sandoval <[email protected]>
    osandov committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    9d53e65 View commit details
    Browse the repository at this point in the history
  7. libdrgn: dwarf_info: index type units from split DWARF files

    Type units don't have a skeleton unit, so we need to walk over all of
    the units in the split DWARF file to find them. Instead of doing this in
    a second pass, rework drgn_dwarf_index_read_cus(): instead of
    substituting skeleton units with their respective split units, call
    drgn_dwarf_index_read_cus() recursively on the split DWARF file.
    
    Signed-off-by: Omar Sandoval <[email protected]>
    osandov committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    f62dc96 View commit details
    Browse the repository at this point in the history
  8. libdrgn: support DWARF package (.dwp) files

    My elfutils patches to support .dwp files were just merged and included
    in release 0.191. libdw does all of the heavy lifting, we just need to
    apply the section offsets when we parse DWARF ourselves. We still need
    to support older versions of elfutils, so add a stub.
    
    Closes osandov#317.
    
    Signed-off-by: Omar Sandoval <[email protected]>
    osandov committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    e250dfe View commit details
    Browse the repository at this point in the history
  9. Update elfutils in manylinux wheels to 0.191

    Signed-off-by: Omar Sandoval <[email protected]>
    osandov committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    ef4b364 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. Configuration menu
    Copy the full SHA
    ef0a651 View commit details
    Browse the repository at this point in the history