Image 1 of 2: GhostScope TUI with nginx source, live trace output and the command panel
Attaches to a running Linux process at a function, source line or instruction, and prints locals, parameters and DWARF-unwound call stacks without suspending it. Works from a TUI or from CLI scripts. C has the strongest coverage, with targeted Rust support.
- 1.40xHot-path slowdown
- 39.48xGDB on the same task
Trade-offs
- Uprobes in place of a debugger stop. The target keeps running, and the hit thread pays the uprobe and eBPF work synchronously, so timing still shifts.
- Observation only, by contract. No operation writes to the target or changes its control flow, so stepping and mutation stay with GDB.
- A value renders only when DWARF connects it to the scope, type, location and read plan at the probe. Source-level tracing depends on debug info for the modules traced.
Q&A3
For breakpoints, single-stepping, memory writes and coredumps. GhostScope has no execution control, and the two should not attach together, since both install breakpoint-based instrumentation.
Evaluating one local variable on every hit of a hot function, 2,000 hits on an i7-8700K with GhostScope 0.1.2. That is a stress test, not a recommended production pattern.
Yes. Output is rejected when events outrun transport capacity. Counters report the loss per interval, which gives visibility, not a lossless guarantee.
Links
Built by
Reviews
Loading reviews
More in eBPF
See all 8 →
XDPerfXDP traffic generator with WASM packet plugins
BeeperApplication-layer parser for eBPF programs- rocketplaneIOSelf-hosted Kubernetes observability with transaction-gated agent actions
kernwatchTerminal dashboard for Linux kernel observability- ProcInShWeb-based Linux process inspector with a 3D process space
pktstat-bpfPer-flow traffic monitor for Linux with four eBPF capture modes
More in Observability
See all 33 →
cerberusPrometheus, Loki and Tempo HTTP gateway for ClickHouse- agent-traceSession recorder and replay tool for coding agents
QueueScopeNative macOS dashboard for BullMQ queues on Redis- NerdlogMulti-host TUI log viewer with a timeline histogram and no central server
- duckdb-otlpOpenTelemetry ingest and SQL queries in DuckDB
More in Terminal UI
See all 39 →- notmuttAsync terminal mail client built on notmuch, with undoable tag operations
MastuiMulti-column Mastodon client for the terminal- Localization Resource ManagerLocalization files from one binary, as a CLI, terminal UI, web UI or in VS Code
KatesPerformance, chaos and security testing for Kafka on Kubernetes
gitpaneMulti-repo Git dashboard for the terminal and the VS Code Explorer
sqlmuxtmux-style terminal database client with Vim keybindings