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 naveen.n@linux.vnet.ibm.com 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

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

2015-04-23 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.

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 naveen.n@linux.vnet.ibm.com 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 @@