summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/trace_clock.h
AgeCommit message (Collapse)Author
2015-08-06powerpc/ftrace: add powerpc timebase as a trace clock sourceNaveen 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 <naveen.n.rao@linux.vnet.ibm.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>