Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: basil/ptools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.18
Choose a base ref
...
head repository: basil/ptools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.19
Choose a head ref
  • 9 commits
  • 43 files changed
  • 2 contributors

Commits on Mar 3, 2026

  1. chore: Disable unused zstd legacy format support

    Only modern zstd frame decompression is needed for coredumps.
    Disabling default features (legacy, arrays, zdict_builder) saves
    ~104 KB (~10%) on the pstack binary.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    basil and claude committed Mar 3, 2026
    Configuration menu
    Copy the full SHA
    8d0c1d6 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2026

  1. Use OsString for process comm to preserve non-UTF-8 names

    Linux process names are arbitrary bytes, so representing them as String
    was lossy.  Switch comm() to return OsString and defer to_string_lossy()
    to display boundaries.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    basil and claude committed Mar 4, 2026
    Configuration menu
    Copy the full SHA
    bd50f8e View commit details
    Browse the repository at this point in the history
  2. Lift cmdline/environ fallback logic from sources into ProcHandle

    Split the monolithic read_cmdline/read_environ source methods into
    separate initial/current/fallback variants, moving the orchestration
    and lossy tracking into ProcHandle. This eliminates per-source Cell
    state and returns the lossy flag inline from read_cmdline.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    basil and claude committed Mar 4, 2026
    Configuration menu
    Copy the full SHA
    503d2b5 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2026

  1. ptree: Truncate output lines to terminal width (#109)

    Add a -w/--wrap flag to allow lines to wrap; by default, lines are
    truncated to the terminal width (via TIOCGWINSZ or ).
    
    Refactor cmd_summary_from() to return a String instead of printing
    directly, enabling callers to measure and truncate the line before
    output.
    
    Co-authored-by: Claude Opus 4.6 <[email protected]>
    basil and claude authored Mar 5, 2026
    Configuration menu
    Copy the full SHA
    f2070a0 View commit details
    Browse the repository at this point in the history
  2. ptree: Align PID column width based on kernel pid_max (#110)

    Read /proc/sys/kernel/pid_max to determine the maximum PID digit count
    and left-align PIDs to that width, so the tree output stays aligned
    regardless of PID length.
    
    Co-authored-by: Claude Opus 4.6 <[email protected]>
    basil and claude authored Mar 5, 2026
    Configuration menu
    Copy the full SHA
    77efae8 View commit details
    Browse the repository at this point in the history
  3. ptree: Merge shared ancestor paths when displaying multiple target PI…

    …Ds (#111)
    
    When multiple target PIDs share common ancestors, merge their ancestry
    chains into a single tree instead of printing redundant separate trees.
    This builds a pruned children map from ancestor chains and renders a
    unified output where ancestor-only nodes show pruned branches and target
    PIDs expand their full subtrees.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    basil and claude authored Mar 5, 2026
    Configuration menu
    Copy the full SHA
    f9d8192 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2026

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

Commits on Mar 19, 2026

  1. Disable debuginfod in all dwfl sessions, not just pstack

    The DEBUGINFOD_URLS removal was only in the pstack binary, but any tool
    that creates a dwfl session (penv, pargs, pauxv — both live and core)
    could trigger network requests to debuginfod servers when resolving
    symbols. Move the removal into the shared dwfl constructor layer so it
    applies to all callers.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    basil and claude committed Mar 19, 2026
    Configuration menu
    Copy the full SHA
    c315fc7 View commit details
    Browse the repository at this point in the history
  2. 0.2.19

    basil committed Mar 19, 2026
    Configuration menu
    Copy the full SHA
    6a66583 View commit details
    Browse the repository at this point in the history
Loading