Re: [PATCH v8 5/8] arm64: Add ftrace support

2014-05-29 Thread Mark Brown
On Thu, May 29, 2014 at 09:07:05AM +0100, Will Deacon wrote: > On Wed, May 28, 2014 at 09:19:55PM +0100, Mark Brown wrote: > > On Wed, Apr 30, 2014 at 06:54:33PM +0900, AKASHI Takahiro wrote: > > > +#include > > > +#include > > > +#include > > asm/insn.h contains a bunch of C stuff which

Re: [PATCH v8 5/8] arm64: Add ftrace support

2014-05-29 Thread Will Deacon
On Wed, May 28, 2014 at 09:19:55PM +0100, Mark Brown wrote: > On Wed, Apr 30, 2014 at 06:54:33PM +0900, AKASHI Takahiro wrote: > > > +/* > > + * arch/arm64/kernel/entry-ftrace.S > > + * > > + * Copyright (C) 2013 Linaro Limited > > + * Author: AKASHI Takahiro > > + * > > + * This program is free

Re: [PATCH v8 5/8] arm64: Add ftrace support

2014-05-29 Thread Will Deacon
On Wed, May 28, 2014 at 09:19:55PM +0100, Mark Brown wrote: On Wed, Apr 30, 2014 at 06:54:33PM +0900, AKASHI Takahiro wrote: +/* + * arch/arm64/kernel/entry-ftrace.S + * + * Copyright (C) 2013 Linaro Limited + * Author: AKASHI Takahiro takahiro.aka...@linaro.org + * + * This

Re: [PATCH v8 5/8] arm64: Add ftrace support

2014-05-29 Thread Mark Brown
On Thu, May 29, 2014 at 09:07:05AM +0100, Will Deacon wrote: On Wed, May 28, 2014 at 09:19:55PM +0100, Mark Brown wrote: On Wed, Apr 30, 2014 at 06:54:33PM +0900, AKASHI Takahiro wrote: +#include linux/linkage.h +#include asm/ftrace.h +#include asm/insn.h asm/insn.h contains a

Re: [PATCH v8 5/8] arm64: Add ftrace support

2014-05-28 Thread Mark Brown
On Wed, Apr 30, 2014 at 06:54:33PM +0900, AKASHI Takahiro wrote: > +/* > + * arch/arm64/kernel/entry-ftrace.S > + * > + * Copyright (C) 2013 Linaro Limited > + * Author: AKASHI Takahiro > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of

Re: [PATCH v8 5/8] arm64: Add ftrace support

2014-05-28 Thread Mark Brown
On Wed, Apr 30, 2014 at 06:54:33PM +0900, AKASHI Takahiro wrote: +/* + * arch/arm64/kernel/entry-ftrace.S + * + * Copyright (C) 2013 Linaro Limited + * Author: AKASHI Takahiro takahiro.aka...@linaro.org + * + * This program is free software; you can redistribute it and/or modify + * it

[PATCH v8 5/8] arm64: Add ftrace support

2014-04-30 Thread AKASHI Takahiro
This patch implements arm64 specific part to support function tracers, such as function (CONFIG_FUNCTION_TRACER), function_graph (CONFIG_FUNCTION_GRAPH_TRACER) and function profiler (CONFIG_FUNCTION_PROFILER). With 'function' tracer, all the functions in the kernel are traced with timestamps in

[PATCH v8 5/8] arm64: Add ftrace support

2014-04-30 Thread AKASHI Takahiro
This patch implements arm64 specific part to support function tracers, such as function (CONFIG_FUNCTION_TRACER), function_graph (CONFIG_FUNCTION_GRAPH_TRACER) and function profiler (CONFIG_FUNCTION_PROFILER). With 'function' tracer, all the functions in the kernel are traced with timestamps in