Re: [PING] [PATCH] Add direct support for Linux kernel __fentry__ patching

2014-09-27 Thread Andi Kleen
On Sat, Sep 27, 2014 at 06:45:21PM +0200, Dominique d'Humières wrote: > I think the patch for gcc.target/i386/nop-mcount.c should be True. Thanks. -Andi

Re: [PING] [PATCH] Add direct support for Linux kernel __fentry__ patching

2014-09-27 Thread Dominique d'Humières
Le 27 sept. 2014 à 18:45, Dominique d'Humières a écrit : > I think the patch for gcc.target/i386/nop-mcount.c should be > > --- ../_clean/gcc/testsuite/gcc.target/i386/nop-mcount.c 2014-09-26 > 23:29:45.0 +0200 > +++ gcc/testsuite/gcc.target/i386/nop-mcount.c2014-09-27 >

Re: [PING] [PATCH] Add direct support for Linux kernel __fentry__ patching

2014-09-27 Thread Andi Kleen
On Sat, Sep 27, 2014 at 01:21:29PM +0200, Dominique Dhumieres wrote: > The new tests fail on darwin: > > /opt/gcc/work/gcc/testsuite/gcc.target/i386/nop-mcount.c:1:0: error: > -mnop-mcount is not implemented for -fPIC > > and gcc.target/i386/record-mcount.c fails because mcount_loc is not found

Re: [PING] [PATCH] Add direct support for Linux kernel __fentry__ patching

2014-09-27 Thread Dominique Dhumieres
The new tests fail on darwin: /opt/gcc/work/gcc/testsuite/gcc.target/i386/nop-mcount.c:1:0: error: -mnop-mcount is not implemented for -fPIC and gcc.target/i386/record-mcount.c fails because mcount_loc is not found in the assembly. TIA Dominique

[PING] [PATCH] Add direct support for Linux kernel __fentry__ patching

2014-09-22 Thread Andi Kleen
Andi Kleen writes: Ping! > Andi Kleen writes: > > Ping! > >> From: Andi Kleen >> >> The Linux kernel dynamically patches in __fentry__ calls in and >> out at runtime. This allows using function tracing for debugging >> in production kernels without (significant) performance penalty. >> >> For