Re: [PATCH 4/4] s390/ftrace: add -mfentry and -mnop-mcount support

2018-08-08 Thread Vasily Gorbik
On Tue, Aug 07, 2018 at 07:30:17AM +0200, Heiko Carstens wrote: > On Mon, Aug 06, 2018 at 03:17:47PM +0200, Vasily Gorbik wrote: > > Utilize -mfentry and -mnop-mcount gcc options together with > > -mrecord-mcount to get compiler generated calls to the profiling functions > > as nops which are

Re: [PATCH 4/4] s390/ftrace: add -mfentry and -mnop-mcount support

2018-08-08 Thread Vasily Gorbik
On Tue, Aug 07, 2018 at 07:30:17AM +0200, Heiko Carstens wrote: > On Mon, Aug 06, 2018 at 03:17:47PM +0200, Vasily Gorbik wrote: > > Utilize -mfentry and -mnop-mcount gcc options together with > > -mrecord-mcount to get compiler generated calls to the profiling functions > > as nops which are

Re: [PATCH 4/4] s390/ftrace: add -mfentry and -mnop-mcount support

2018-08-06 Thread Heiko Carstens
On Mon, Aug 06, 2018 at 03:17:47PM +0200, Vasily Gorbik wrote: > Utilize -mfentry and -mnop-mcount gcc options together with > -mrecord-mcount to get compiler generated calls to the profiling functions > as nops which are compatible with current -mhotpatch=0,3 approach. At the > same time

Re: [PATCH 4/4] s390/ftrace: add -mfentry and -mnop-mcount support

2018-08-06 Thread Heiko Carstens
On Mon, Aug 06, 2018 at 03:17:47PM +0200, Vasily Gorbik wrote: > Utilize -mfentry and -mnop-mcount gcc options together with > -mrecord-mcount to get compiler generated calls to the profiling functions > as nops which are compatible with current -mhotpatch=0,3 approach. At the > same time

[PATCH 4/4] s390/ftrace: add -mfentry and -mnop-mcount support

2018-08-06 Thread Vasily Gorbik
Utilize -mfentry and -mnop-mcount gcc options together with -mrecord-mcount to get compiler generated calls to the profiling functions as nops which are compatible with current -mhotpatch=0,3 approach. At the same time -mrecord-mcount enables __mcount_loc section generation by the compiler which

[PATCH 4/4] s390/ftrace: add -mfentry and -mnop-mcount support

2018-08-06 Thread Vasily Gorbik
Utilize -mfentry and -mnop-mcount gcc options together with -mrecord-mcount to get compiler generated calls to the profiling functions as nops which are compatible with current -mhotpatch=0,3 approach. At the same time -mrecord-mcount enables __mcount_loc section generation by the compiler which