Commit b410b26
feat(vortex): integrate Ocular tracing functionality with callbacks and telemetry
- Added `callbacks.rs` to handle tracing events such as instruction execution, jumps, and function returns.
- Introduced `model.rs` to define data structures for trace events and metadata.
- Created `state.rs` to manage global state, including event queues, tracing status, and pattern filtering.
- Developed `telemetry.rs` to process and report tracing statistics, including hot traces and instruction hits.
- Updated `mod.rs` to expose new functions for starting and stopping tracing, as well as retrieving statistics.
- Implemented pattern matching for including/excluding specific code during tracing.
- Ensured thread safety and efficient memory management using atomic types and queues.
Co-authored-by: Iris Seravelle <iris.seravelle@gmail.com>1 parent 7cd6e2a commit b410b26
11 files changed
Lines changed: 1807 additions & 138 deletions
File tree
- src
- py
- vortex
- ocular
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments