Re: [RFC PATCH 0/4] ftrace: Add use of -mfentry for x86_64

2012-08-13 Thread Ingo Molnar
* H. Peter Anvin wrote: > On 08/07/2012 12:38 PM, Steven Rostedt wrote: > > > >This is an RFC patch set that makes gcc use the -mfentry option with > >-pg. This will set the ftrace 'hook' to the beginning of the function > >and also remove the requirement that -pg enables frame pointers. > > >

Re: [RFC PATCH 0/4] ftrace: Add use of -mfentry for x86_64

2012-08-13 Thread Ingo Molnar
* H. Peter Anvin h...@zytor.com wrote: On 08/07/2012 12:38 PM, Steven Rostedt wrote: This is an RFC patch set that makes gcc use the -mfentry option with -pg. This will set the ftrace 'hook' to the beginning of the function and also remove the requirement that -pg enables frame pointers.

Re: [RFC PATCH 0/4] ftrace: Add use of -mfentry for x86_64

2012-08-07 Thread H. Peter Anvin
On 08/07/2012 12:38 PM, Steven Rostedt wrote: This is an RFC patch set that makes gcc use the -mfentry option with -pg. This will set the ftrace 'hook' to the beginning of the function and also remove the requirement that -pg enables frame pointers. This has a couple of benefits (and probably

[RFC PATCH 0/4] ftrace: Add use of -mfentry for x86_64

2012-08-07 Thread Steven Rostedt
This is an RFC patch set that makes gcc use the -mfentry option with -pg. This will set the ftrace 'hook' to the beginning of the function and also remove the requirement that -pg enables frame pointers. This has a couple of benefits (and probably more). 1) removal of the frame pointer

[RFC PATCH 0/4] ftrace: Add use of -mfentry for x86_64

2012-08-07 Thread Steven Rostedt
This is an RFC patch set that makes gcc use the -mfentry option with -pg. This will set the ftrace 'hook' to the beginning of the function and also remove the requirement that -pg enables frame pointers. This has a couple of benefits (and probably more). 1) removal of the frame pointer

Re: [RFC PATCH 0/4] ftrace: Add use of -mfentry for x86_64

2012-08-07 Thread H. Peter Anvin
On 08/07/2012 12:38 PM, Steven Rostedt wrote: This is an RFC patch set that makes gcc use the -mfentry option with -pg. This will set the ftrace 'hook' to the beginning of the function and also remove the requirement that -pg enables frame pointers. This has a couple of benefits (and probably