Repository navigation
Conversation
swananan
force-pushed
the
feature/prepared-trace-bundles
branch
from
November 4, 2026 15:36
fb20dfd to
ea2751e
Compare
This branch has not been deployed
This file contains hidden or 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
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.
Repeated tracing currently repeats DWARF parsing and LLVM compilation. Add
ghostscope prepareto compile a script as an ordinary user and save a versioned bundle, andghostscope run-bundleto validate the target and attach the saved eBPF programs without DWARF parsing or recompilation.The runtime verifies format, GhostScope version, architecture, target hash/module identity and executable mappings, retains the target file descriptor during attachment, and reuses normal CLI output and teardown. Preparation publishes bundles atomically without overwriting existing files. English and Chinese documentation describe usage and compatibility constraints.
Initial scope is a single module in a host process, with process-scoped multi-uprobe support (including worker threads). Backtraces,
$input_pid, and container PID namespaces are not supported. Runtime must support the saved RingBuf/PerfEventArray and sleepable settings; there is no backend or compilation fallback.Validation:
dead_codediagnostics in unchanged runner lifecycle/common code.Refs #240.