opam-version: "2.0"
maintainer: "Thomas Leonard <talex5@gmail.com>"
authors: "Thomas Leonard <talex5@gmail.com>"
homepage: "https://github.com/mirage/mirage-profile"
dev-repo: "git+https://github.com/mirage/mirage-profile.git"
bug-reports: "https://github.com/mirage/mirage-profile/issues"
license: "BSD-2-clause"
build: [
	["./configure"
	  "--prefix" prefix
	  "--%{mirage-xen-minios:enable}%-xen"
	]
	[make]
]
install: [make "install"]
remove: ["ocamlfind" "remove" "mirage-profile"]
depends: [
  "ocaml" {>= "4.00"}
  "ocamlfind" {build}
  "cstruct" {<= "1.9.0"}
  "type_conv" {build}
  "ocplib-endian"
  "io-page"
  "lwt"
  "ocamlbuild" {build}
]
depopts: [
	"mirage-xen-minios"
]
synopsis: "Collect profiling information"
description: """
This library can be used to trace execution of OCaml/Lwt programs (such as
MirageOS 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)."""
flags: light-uninstall
url {
  src: "https://github.com/mirage/mirage-profile/archive/v0.6.1.tar.gz"
  checksum: "md5=deddb93d576a763e4c524533976624c4"
}
