Skip to content

Commit 8f069c9

Browse files
committed
compat with trace
1 parent a2d678c commit 8f069c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/trace/tracy_client_trace.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ module C () : Trace.Collector.S = struct
3939
let shutdown () = ()
4040
let add_data_to_span _ _ = ()
4141
let add_data_to_manual_span _ _ = ()
42+
let enter_context name = Tracy_client.enter_frame name
43+
let exit_context name = Tracy_client.exit_frame name
4244

4345
let enter_manual_span ~parent:_ ~flavor:_ ~__FUNCTION__:_ ~__FILE__:_
4446
~__LINE__:_ ~data:_ _name : explicit_span =

0 commit comments

Comments
 (0)