magic-trace
magic-trace collects and displays high-resolution traces of what a process is doing
Explore magic-trace's auto-detection of Intel Processor Trace (PT) and its fallback to stacktrace sampling. Discover how to override collection modes for efficient performance analysis.
How Magic-Trace Extracts OCaml Exception Information from Debug SymbolsLearn how Magic-Trace extracts OCaml exception information from debug symbols using ELF note sections and address lists to reconstruct exception control flow for effective tracing.
How Magic-Trace Manages Multi-Snapshotting with Switch-Output SignalsLearn how Magic-Trace achieves multi-snapshotting using switch-output signals. Discover seamless output file rotation with SIGUSR2 without interrupting tracing.
How to Attach magic-trace to a Running Process: PID vs. fzf Selection MethodsLearn to attach magic-trace to running processes using PID or fzf fuzzy selection. Explore efficient debugging methods for your applications.
How to Trace Running Processes with magic-trace attach: A Complete GuideLearn to trace running processes with magic trace attach command. Capture Intel Processor Trace data from live Linux processes with trigger options for in depth analysis.
How Magic-Trace Controls perf Using ctlfd vs Signals: Implementation Deep DiveExplore how Magic-Trace expertly manages perf control using ctlfd or signals. Discover the implementation details and benefits of its dynamic kernel version detection for reliable performance tracing.
magic-trace Debug Info and Symbol Table Requirements: A Complete GuideUnderstand magic-trace debug info and symbol table needs. Learn how to configure your build for full source code tracing and symbol resolution to avoid raw addresses.
How magic-trace Captures Kernel Traces with kcore SupportLearn how magic-trace captures kernel traces with kcore support by automatically enabling the --kcore flag for perf record in specific Intel Processor-Trace configurations. Optimize your kernel tracing.
How magic-trace perf_dlfilter Resolves Symbols: The Dynamic Linker Filter MechanismUnderstand how magic-trace perf_dlfilter resolves symbols by intercepting perf events and utilizing dl_iterate_phdr for efficient symbol lookup and caching.
How to Add Custom Events (branch-misses, cache-misses) to magic-trace TracesLearn to add custom perf events like branch-misses and cache-misses to magic-trace traces using the --extra-events command-line option. Enhance your performance analysis today.
Magic-Trace Full Execution Mode vs Snapshot Ring Buffer: Key Differences ExplainedUnderstand the key differences between Magic-Trace full execution mode and the snapshot ring buffer. Learn when to use each for efficient system tracing.
How Magic‑Trace Handles ELF Files and Symbol ResolutionLearn how Magic-Trace processes ELF files and resolves symbols. Discover its advanced techniques for address translation and source symbol annotation for precise profiling.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →