trace-cmd library: Do not record TSC frac bits if scaling is default
Guest's TSC fraction bits only make sense if there is a TSC scaling. In
case of default value for TSC scaling, fraction bits should not be used
in TSC guest clock calculation.
Link: https://lore.kernel.org/linux-trace-devel/20211210115508.103569-1-tz.stoyanov@gmail.com
Fixes: f0b3ed1222dd ("trace-cmd library: Extend host-guest time sync with fraction bits")
Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 file changed