trace-cmd: Convert tsc timestamps to nanosecods when reading trace data from a file

If there is information for TSC to nanoseconds conversion in the trace
file metadata, use it to recalculate the timestamps of all events.

Link: https://lore.kernel.org/linux-trace-devel/20210325064055.539554-15-tz.stoyanov@gmail.com

Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 file changed