Re: [PATCH RFC] powerpc/ftrace: add powerpc timebase as a trace clock source

2015-04-22 Thread Naveen N. Rao
On 2015/04/23 01:14PM, Michael Ellerman wrote: > On Wed, 2015-04-22 at 10:48 +0530, Naveen N. Rao wrote: > > On 2015/04/21 09:25AM, Steven Rostedt wrote: > > > On Tue, 21 Apr 2015 16:33:36 +0530 > > > "Naveen N. Rao" wrote: > > > > > > > Add a new powerpc-specific trace clock using the timebase r

Re: [PATCH RFC] powerpc/ftrace: add powerpc timebase as a trace clock source

2015-04-22 Thread Michael Ellerman
On Wed, 2015-04-22 at 10:48 +0530, Naveen N. Rao wrote: > On 2015/04/21 09:25AM, Steven Rostedt wrote: > > On Tue, 21 Apr 2015 16:33:36 +0530 > > "Naveen N. Rao" wrote: > > > > > Add a new powerpc-specific trace clock using the timebase register, > > > similar to x86-tsc. This gives us a fast, mo

Re: [PATCH RFC] powerpc/ftrace: add powerpc timebase as a trace clock source

2015-04-21 Thread Naveen N. Rao
On 2015/04/21 09:25AM, Steven Rostedt wrote: > On Tue, 21 Apr 2015 16:33:36 +0530 > "Naveen N. Rao" wrote: > > > Add a new powerpc-specific trace clock using the timebase register, > > similar to x86-tsc. This gives us a fast, monotonic, cross-cpu clock > > for trace entries and can be used to co

Re: [PATCH RFC] powerpc/ftrace: add powerpc timebase as a trace clock source

2015-04-21 Thread Steven Rostedt
On Tue, 21 Apr 2015 16:33:36 +0530 "Naveen N. Rao" wrote: > Add a new powerpc-specific trace clock using the timebase register, > similar to x86-tsc. This gives us a fast, monotonic, cross-cpu clock > for trace entries and can be used to correlate events across cpus as > well as across hypervisor

[PATCH RFC] powerpc/ftrace: add powerpc timebase as a trace clock source

2015-04-21 Thread Naveen N. Rao
Add a new powerpc-specific trace clock using the timebase register, similar to x86-tsc. This gives us a fast, monotonic, cross-cpu clock for trace entries and can be used to correlate events across cpus as well as across hypervisor and guest (assuming it is not a migrated guest with a non-zero tb_o