OS Manuals

/usr/lib/ocaml-4/bin/ocamlprof.byte

bytecode-only OCaml binaries

From ocaml-4-dev 4.14.5-r0 (enterprise-packages), captured 2026-11-08 by running ocamlprof.byte --help (exit 0). permalink

Usage: ocamlprof <options> <files>
options are:
  -f <file>     Use <file> as dump file (default ocamlprof.dump)
  -F <s>        Insert string <s> with the counts
  -impl <file>  Process <file> as a .ml file
  -instrument   (undocumented)
  -intf <file>  Process <file> as a .mli file
  -m <flags>    (undocumented)
  -version      Print version and exit
  -vnum         Print version number and exit
  -args <file> Read additional newline separated command line arguments
      from <file>
  -args0 <file> Read additional NUL separated command line arguments from
      <file>
  -help  Display this list of options
  --help  Display this list of options
Options (10)
OptionDescriptionSource
-f fileUse <file> as dump file (default ocamlprof.dump)help
-F sInsert string <s> with the countshelp
-impl fileProcess <file> as a .ml filehelp
-instrument(undocumented)help
-intf fileProcess <file> as a .mli filehelp
-m flags(undocumented)help
-versionPrint version and exithelp
-vnumPrint version number and exithelp
-helpDisplay this list of optionshelp
--helpDisplay this list of optionshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.