trace-cmd: Save hook in trace.dat file for report

Save any hooks used by trace-cmd record and reuse them if trace-cmd
report is done with the --profile option.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
6 files changed