Re: [PATCH 0/6] perf tools: Add wallclock time conversion support

2020-08-01 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 31, 2020 at 06:46:21PM -0600, David Ahern escreveu: > On 7/31/20 12:05 PM, pet...@infradead.org wrote: > > On Fri, Jul 31, 2020 at 08:36:12AM -0700, Andi Kleen wrote: > >>> yep, we have a customer that needs to compare data from multiple servers > >> It's also needed to correlate over

Re: [PATCH 0/6] perf tools: Add wallclock time conversion support

2020-07-31 Thread David Ahern
On 7/31/20 12:05 PM, pet...@infradead.org wrote: > On Fri, Jul 31, 2020 at 08:36:12AM -0700, Andi Kleen wrote: >>> yep, we have a customer that needs to compare data from multiple servers >> >> It's also needed to correlate over different guests on the same machine. >> This is an important use

Re: [PATCH 0/6] perf tools: Add wallclock time conversion support

2020-07-31 Thread peterz
On Fri, Jul 31, 2020 at 08:36:12AM -0700, Andi Kleen wrote: > > yep, we have a customer that needs to compare data from multiple servers > > It's also needed to correlate over different guests on the same machine. > This is an important use case. Both these cases you want to sync up

Re: [PATCH 0/6] perf tools: Add wallclock time conversion support

2020-07-31 Thread peterz
On Thu, Jul 30, 2020 at 07:21:54PM -0600, David Ahern wrote: > On 7/30/20 4:14 PM, pet...@infradead.org wrote: > > On Thu, Jul 30, 2020 at 11:39:44PM +0200, Jiri Olsa wrote: > > > >> The patchset is adding the ability to display TOD/wallclock timestamp > >> in 'perf script' output and in 'perf

Re: [PATCH 0/6] perf tools: Add wallclock time conversion support

2020-07-31 Thread Andi Kleen
> yep, we have a customer that needs to compare data from multiple servers It's also needed to correlate over different guests on the same machine. This is an important use case. It would be nice if we could find a way to export the per guest TSC offset from KVM, then we could use the more

Re: [PATCH 0/6] perf tools: Add wallclock time conversion support

2020-07-31 Thread Jiri Olsa
On Thu, Jul 30, 2020 at 07:21:54PM -0600, David Ahern wrote: > On 7/30/20 4:14 PM, pet...@infradead.org wrote: > > On Thu, Jul 30, 2020 at 11:39:44PM +0200, Jiri Olsa wrote: > > > >> The patchset is adding the ability to display TOD/wallclock timestamp > >> in 'perf script' output and in 'perf

Re: [PATCH 0/6] perf tools: Add wallclock time conversion support

2020-07-30 Thread David Ahern
On 7/30/20 4:14 PM, pet...@infradead.org wrote: > On Thu, Jul 30, 2020 at 11:39:44PM +0200, Jiri Olsa wrote: > >> The patchset is adding the ability to display TOD/wallclock timestamp >> in 'perf script' output and in 'perf data convert --to-ctf' subcommand, >> so the converted CTF data contain

Re: [PATCH 0/6] perf tools: Add wallclock time conversion support

2020-07-30 Thread peterz
On Thu, Jul 30, 2020 at 11:39:44PM +0200, Jiri Olsa wrote: > The patchset is adding the ability to display TOD/wallclock timestamp > in 'perf script' output and in 'perf data convert --to-ctf' subcommand, > so the converted CTF data contain TOD/wallclock timestamps. But why? Wallclock is a

[PATCH 0/6] perf tools: Add wallclock time conversion support

2020-07-30 Thread Jiri Olsa
hi, this patchset is based on changes made by David Ahern long time ago. The perf code moved a lot since then, but the idea is the same. The patchset is adding the ability to display TOD/wallclock timestamp in 'perf script' output and in 'perf data convert --to-ctf' subcommand, so the converted