package mperf

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type flag =
  1. | Disabled
    (*

    off by default

    *)
  2. | Inherit
    (*

    children inherit it

    *)
  3. | Exclude_user
    (*

    don't count user

    *)
  4. | Exclude_kernel
    (*

    don't count kernel

    *)
  5. | Exclude_hv
    (*

    don't count hypervisor

    *)
  6. | Exclude_idle
    (*

    don't count when idle

    *)
  7. | Enable_on_exec
    (*

    next exec enables

    *)
module Kind : sig ... end
type t

Opaque type of a perf event attribute.

val make : ?flags:flag list -> Kind.t -> t

make ?flags kind is a perf event attribute of type kind, with flags flags.

val compare : t -> t -> int

comparison function on t.