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

2015-04-24 Thread Naveen N. Rao
On 2015/04/23 09:10AM, Steven Rostedt wrote: > On Thu, 23 Apr 2015 12:15:04 +0530 > "Naveen N. Rao" wrote: > > > diff --git a/arch/powerpc/include/asm/trace_clock.h > > b/arch/powerpc/include/asm/trace_clock.h > > new file mode 100644 > > index 000..0b0d094 > > --- /dev/null > > +++ b/arch/p

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

2015-04-23 Thread Steven Rostedt
On Thu, 23 Apr 2015 12:15:04 +0530 "Naveen N. Rao" wrote: > diff --git a/arch/powerpc/include/asm/trace_clock.h > b/arch/powerpc/include/asm/trace_clock.h > new file mode 100644 > index 000..0b0d094 > --- /dev/null > +++ b/arch/powerpc/include/asm/trace_clock.h > @@ -0,0 +1,27 @@ > +/* > + *

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

2015-04-22 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, hardware clock source for trace entries, and - a clock that can be used to correlate events across cpus as well as across hypervisor and guests. Signed-off-by: Naveen N. Rao