opam-version: "2.0"
available: os != "macos"
maintainer: "Thomas Leonard <talex5@gmail.com>"
authors: "Thomas Leonard <talex5@gmail.com>"
homepage: "https://github.com/mirage/mirage-profile"
bug-reports: "https://github.com/mirage/mirage-profile"
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"
]
dev-repo: "git://github.com/mirage/mirage-profile"
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.3.tar.gz"
  checksum: "md5=b3452ee49e65a64b6a6a2b8b902cb67a"
}
