package eio-trace

  1. Overview
  2. Docs
Trace visualisation for Eio programs

Install

Dune Dependency

Authors

Maintainers

Sources

eio-trace-0.4.tbz
sha256=e5f590734c92d52f607a7af4ad9d54be9af79f3c38040ca92eff47c0d24e3eaf
sha512=e50e7a2bae8472e80d881f837e32d4da5d0d2872e1fb8b80052d65012e75a4db0a9ca2576246e80d8e450965a13a72396c8da6346b6ea4bfaedf78c7293d53bc

doc/eio-trace.fxt/Fxt/Write/index.html

Module Fxt.WriteSource

Write files in Fuchsia trace format: https://fuchsia.dev/fuchsia-src/reference/tracing/trace-format

Sourcetype t
Sourcetype arg = [
  1. | `Unit
  2. | `Int64 of int64
  3. | `Pointer of int64
  4. | `Koid of int64
  5. | `String of string
]
Sourcetype args = (string * arg) list
Sourcetype thread = {
  1. pid : int64;
  2. tid : int64;
}
Sourceval of_writer : Eio.Buf_write.t -> t
Sourceval instant_event : ?args:args -> t -> name:string -> thread:thread -> category:string -> ts:int64 -> unit
Sourceval duration_begin : ?args:args -> t -> name:string -> thread:thread -> category:string -> ts:int64 -> unit
Sourceval duration_end : ?args:args -> t -> name:string -> thread:thread -> category:string -> ts:int64 -> unit
Sourceval user_object : ?args:args -> t -> name:string -> thread:thread -> int64 -> unit
Sourceval kernel_object : ?args:args -> t -> name:string -> [ `Thread ] -> int64 -> unit
Sourceval thread_wakeup : ?args:args -> t -> cpu:int -> ts:int64 -> int64 -> unit
OCaml

Innovation. Community. Security.