fix: correct clocks for perfetto exporter - #321
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedNext included review available in 34 minutes. View limit detailsLimit details: You’ve used all 2 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
| Filename | Overview |
|---|---|
| crates/tracexec-exporter-perfetto/Cargo.toml | Enables the nix time feature required by the newly used clock APIs. |
| crates/tracexec-exporter-perfetto/src/packet.rs | Declares event timestamps as REALTIME, records BOOTTIME/REALTIME correspondence, and tests the emitted clock snapshot. |
| crates/tracexec-exporter-perfetto/src/perfetto.rs | Correctly propagates failures encountered while constructing the initial clock snapshot. |
| crates/tracexec-exporter-perfetto/src/producer.rs | Makes producer initialization fallible and consistently propagates packet-creator initialization errors. |
Sequence Diagram
sequenceDiagram
participant Exporter
participant Producer
participant Clock as Linux clocks
participant Recorder
participant Perfetto
Exporter->>Producer: initialize
Producer->>Clock: read CLOCK_BOOTTIME
Producer->>Clock: read CLOCK_REALTIME
Producer-->>Exporter: initial ClockSnapshot
Exporter->>Recorder: record snapshot and REALTIME defaults
Exporter->>Recorder: record Unix-time event packets
Recorder-->>Perfetto: trace with related clock domains
Reviews (1): Last reviewed commit: "fix: correct clocks for perfetto exporte..." | Re-trigger Greptile
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #321 +/- ##
==========================================
+ Coverage 82.47% 82.60% +0.13%
==========================================
Files 84 84
Lines 21393 21434 +41
==========================================
+ Hits 17644 17706 +62
+ Misses 3749 3728 -21 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
No description provided.