ocaml-trace/dune-project
Simon Cruanes 5e69650534
add perfetto with single .proto file, parts of it commented
we only want to encode data, and only part of it, so we can skip
some java-specific messages, as well as the whole Ftrace subsystem.
2025-11-04 13:21:49 -05:00

116 lines
1.8 KiB
Text

(lang dune 2.9)
(name trace)
(generate_opam_files true)
(version 0.10)
(source
(github c-cube/ocaml-trace))
(authors "Simon Cruanes")
(maintainers "Simon Cruanes")
(license MIT)
;(documentation https://url/to/documentation)
(package
(name trace)
(synopsis
"A stub for tracing/observability, agnostic in how data is collected")
(depends
(ocaml
(>= 4.08))
dune)
(depopts
hmap
unix
(picos_aux
(>= 0.6))
(mtime
(>= 2.0)))
(tags
(trace tracing observability profiling)))
(package
(name ppx_trace)
(synopsis "A ppx-based preprocessor for trace")
(depends
(ocaml
(>= 4.12))
; we use __FUNCTION__
(ppxlib
(and
(>= 0.28)
(< 0.38)))
(trace
(= :version))
(trace-tef
(and
(= :version)
:with-test))
dune)
(depopts
(mtime
(>= 2.0)))
(tags
(trace ppx)))
(package
(name trace-tef)
(synopsis
"A simple backend for trace, emitting Catapult/TEF JSON into a file")
(depends
(ocaml
(>= 4.08))
(trace
(= :version))
(mtime
(>= 2.0))
base-unix
dune)
(tags
(trace tracing catapult TEF chrome-format chrome-trace json)))
(package
(name trace-fuchsia)
(synopsis
"A high-performance backend for trace, emitting a Fuchsia trace into a file")
(depends
(ocaml
(>= 4.08))
(trace
(= :version))
(mtime
(>= 2.0))
(thread-local-storage
(>= 0.2))
base-bigarray
base-unix
dune)
(tags
(trace tracing fuchsia)))
(package
(name trace-perfetto)
(synopsis
"A backend for trace based on perfetto's protobuf format")
(depends
(ocaml
(>= 4.08))
(trace
(= :version))
(mtime
(>= 2.0))
(thread-local-storage
(>= 0.2))
pbrt
dune)
(tags
(trace tracing perfetto)))
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project