mirage-profileversion
Collect runtime profiling information in CTF format
This library can be used to trace execution of OCaml/Lwt programs (such as Mirage unikernels) at the level of Lwt threads. The traces can be viewed using JavaScript or GTK viewers provided by [mirage-trace-viewer][] or processed by tools supporting the [Common Trace Format (CTF)][ctf]. Some example traces can be found in the blog post Visualising an Asynchronous Monad.
Libraries can use the functions mirage-profile provides to annotate the traces with extra information. When compiled against a normal version of Lwt, mirage-profile's functions are null-ops (or call the underlying untraced operation, as appropriate) and OCaml's cross-module inlining will optimise these calls away, meaning there should be no overhead in the non-profiling case.
Author | Thomas Leonard <talex5@gmail.com> |
---|---|
License | BSD-2-clause |
Published | |
Homepage | https://github.com/mirage/mirage-profile |
Issue Tracker | https://github.com/mirage/mirage-profile/issues |
Maintainer | Thomas Leonard <talex5@gmail.com> |
Dependencies |
|
Source [http] | https://github.com/mirage/mirage-profile/releases/download/v0.9.0/mirage-profile-v0.9.0.tbz sha256=60a76c482fbac9dedbfcb8b5536c57bf6678f48523131235a114862b0483c381 sha512=8efffd7f8a7af169e4880377e2376b830c12baed66611f669992afcae6002c1df7a02e95e2e1d6d498b10a39260e5fa9442e2c9aaf67f4a3ffd2071925a4f1d7 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/mirage-profile/mirage-profile.0.9.0/opam |
- arp>=2.3.1 & <3.1.0
- arp-mirage>=2.0.0
- dnswith-test & >=0.15.0 & <1.0.0
- dns-lwt
- ethernet<3.2.0
- jitsu
- mirage-dns>=2.6.0
- mirage-logs<1.3.0
- mirage-net-solo5<0.2.0
- mirage-net-xen>=1.2.0 & <1.7.1
- mirage-profile-unix>=0.9.0
- mirage-profile-xen=0.9.0
- mirage-solo5<0.2.0
- mirage-unix>=2.1.0 & <3.0.8
- mirage-vnetif<0.6.1
- mirage-vnetif-stack<0.6.1
- mirage-xen>=2.1.0 & <8.0.3
- netchannel
- shared-memory-ring>=1.1.1 & <3.2.1
- shared-memory-ring-lwt<3.2.1
- tcpip=2.1.0 | >=3.1.4 & <8.0.0
- xen-gnt>=2.1.0 & <4.0.2
- dns>=0.19.1 & <1.0.0