[PATCH 2/2] ftrace - add ftrace function_graph support on ARM

2010-03-05 Thread Tim Bird
Sorry - had wrong lists on original message Add ftrace function-graph tracer support for ARM. This includes adding code in mcount to check for (and call) a registered function graph trace entry routine, and adding code to support a return trampoline, to catch the function exit. IRQENTRY_TEXT was

Re: [PATCH 2/2] ftrace - add ftrace function_graph support on ARM

2010-10-09 Thread Rabin Vincent
On Sun, Mar 7, 2010 at 1:48 AM, Russell King - ARM Linux wrote: > On Fri, Mar 05, 2010 at 04:36:47PM -0800, Tim Bird wrote: >> IRQENTRY_TEXT was added to vmlinux.lds.S (to eliminate >> a compiler error on kernel/trace/trace_functions_graph.c), >> although no routines were marked as __irq_entry. >

Re: [PATCH 2/2] ftrace - add ftrace function_graph support on ARM

2010-10-09 Thread Russell King - ARM Linux
On Sat, Oct 09, 2010 at 11:20:50PM +0530, Rabin Vincent wrote: > On Sun, Mar 7, 2010 at 1:48 AM, Russell King - ARM Linux > wrote: > > On Fri, Mar 05, 2010 at 04:36:47PM -0800, Tim Bird wrote: > >> IRQENTRY_TEXT was added to vmlinux.lds.S (to eliminate > >> a compiler error on kernel/trace/trace_f

Re: [PATCH 2/2] ftrace - add ftrace function_graph support on ARM

2010-10-10 Thread Rabin Vincent
On Sat, Oct 09, 2010 at 08:37:57PM +0100, Russell King - ARM Linux wrote: > On Sat, Oct 09, 2010 at 11:20:50PM +0530, Rabin Vincent wrote: > > It's used just for the C entry functions for interrupts: asm_do_IRQ() > > and the IPI and local timer functions. > > > > AFAICS __exception seems to be use

Re: [PATCH 2/2] ftrace - add ftrace function_graph support on ARM

2010-10-11 Thread Russell King - ARM Linux
On Mon, Oct 11, 2010 at 03:36:03AM +0530, Rabin Vincent wrote: > On Sat, Oct 09, 2010 at 08:37:57PM +0100, Russell King - ARM Linux wrote: > > On Sat, Oct 09, 2010 at 11:20:50PM +0530, Rabin Vincent wrote: > > > It's used just for the C entry functions for interrupts: asm_do_IRQ() > > > and the IPI

Re: [PATCH 2/2] ftrace - add ftrace function_graph support on ARM

2010-10-11 Thread Rabin Vincent
On Mon, Oct 11, 2010 at 1:55 PM, Russell King - ARM Linux wrote: > And now to go back to the original question I asked: What is __irq_entry > used for? It's used to identify when we're inside the interrupt handling path. Depending upon the tracing options ("funcgraph-irqs"), this can be excluded

Re: [PATCH 2/2] ftrace - add ftrace function_graph support on ARM

2010-03-06 Thread Russell King - ARM Linux
On Fri, Mar 05, 2010 at 04:36:47PM -0800, Tim Bird wrote: > IRQENTRY_TEXT was added to vmlinux.lds.S (to eliminate > a compiler error on kernel/trace/trace_functions_graph.c), > although no routines were marked as __irq_entry. Well, ARM already places the assembly exception text in its own separat