main: Record and print full exception stack traces.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 6 Jan 2011 12:40:29 +0000 (12:40 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 6 Jan 2011 12:43:48 +0000 (12:43 +0000)
commitd3def2ccdd0e1f25f4966eee8cfc4396861e4fb4
tree05640894ed5afb32ea7f5e02c758c53d0c4fb585
parent0b94aeb460d42eea16bf942dd0892b8ebf63877b
main: Record and print full exception stack traces.

This turns on stack trace recording unconditionally (the same
effect as if OCAMLRUNPARAM=b was always supplied), and also prints
stack traces to the log file if there is an exception.

See also:
http://caml.inria.fr/pub/docs/manual-ocaml/libref/Printexc.html

Note that this requires OCaml >= 3.11.0.
README
virt-top/virt_top_main.ml