Add support for --list-proc-units and --list-frames options.

--list-proc-units was documented in 1.0 release but it was never
wired up to work. --list-frames was not documented in 1.0 and it
wasn't working either.