Hey guys, On Thu, 2021-02-18 at 22:53 -0500, Steven Rostedt wrote: > On Thu, 18 Feb 2021 21:03:52 -0500 > Steven Rostedt wrote: > > > Hence, we can use x86-tsc as the clock for both the host and guest, > > and > > then using perf find out how to convert that to what the 'local' > > clock > > would produce. At least the multiplier and the shfit. > > I just tried this out: > >  http://rostedt.org/private/perf-trace.c > > Where I did: > >  # trace-cmd record -M 1 -C local -e irq -e sched taskset -c 0 > ./perf-trace > time_shift=31 > time_mult=633046315 > time_offset=-125757047487632 > Let me ask something really really stupid: where was this run? Host? Gust? Both? This seems very interesting... But I definitely need to stare more at your code (while scratching my head, at least for now :-P). Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <> (Raistlin Majere)