Commit Graph

12 Commits

Author SHA1 Message Date
Marten Seemann
b9b4bc07e5 trace the scope name as a JSON object
This allows for easy filtering using standard JSON tooling (e.g. jq) to
filter for a specific scope.
2022-06-07 11:22:58 +02:00
Marten Seemann
5224eb6ad6 export the TraceEvt (#40) 2022-06-04 06:43:35 -07:00
Marten Seemann
4316554cd3 trace exact timestamps (#39)
RFC3339 only exports up to second granularity, which is not enough for a
detailed analysis.
2022-06-04 06:43:23 -07:00
Marten Seemann
5874c5f23a skip events that don't change anything in tracer (#38)
This happens when empty sub-scopes are moved around between scopes.
2022-06-04 04:20:07 -07:00
Marten Seemann
50387915ba add a timestamp to trace events (#34) 2022-06-01 07:08:25 -07:00
Marten Seemann
6e6735caf7 fix sign of delta of release_memory tracer event (#16) 2022-04-10 11:17:13 -07:00
Marten Seemann
7352c8b2e7 use a string for trace events (#15) 2022-04-08 12:20:32 -07:00
vyzo
f51ceca509 emit start event to trace with the limiter 2022-01-17 12:33:01 +02:00
vyzo
8a60c5d336 short circuit write/flush if there are no pending events 2022-01-17 12:33:01 +02:00
vyzo
83c13993f8 fix omit empty decl 2022-01-17 12:33:01 +02:00
vyzo
1dc0961ae6 implement tracer 2022-01-17 12:33:01 +02:00
vyzo
98870b0c0c tracing instrumentation 2022-01-17 12:33:01 +02:00