mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-07 18:37:56 -05:00
- custom span carries around all the required data, including mutable args - no more manual enter/exit callbacks - use record for callbacks - no more big Span_tbl
18 lines
399 B
Text
18 lines
399 B
Text
(library
|
|
(name trace_subscriber)
|
|
(public_name trace.subscriber)
|
|
(private_modules time_ thread_)
|
|
(libraries
|
|
(re_export trace.core)
|
|
(select
|
|
thread_.ml
|
|
from
|
|
(threads -> thread_.real.ml)
|
|
(-> thread_.dummy.ml))
|
|
(select
|
|
time_.ml
|
|
from
|
|
(mtime mtime.clock.os -> time_.mtime.ml)
|
|
(mtime mtime.clock.jsoo -> time_.mtime.ml)
|
|
(unix -> time_.unix.ml)
|
|
(-> time_.dummy.ml))))
|