[PATCH] Use -mcount-record for dynamic ftrace

2016-11-01 Thread Andi Kleen
From: Andi Kleen gcc 5 supports a new -mcount-record option to generate ftrace tables directly. This avoids the need to run record_mcount manually. Use this option when available. It also has a -mcount-nop option to generate the mcount calls as nops. So far that is not implemented, but it could

Re: [PATCH] Use -mcount-record for dynamic ftrace

2015-04-14 Thread Steven Rostedt
On Tue, 14 Apr 2015 09:19:58 +0300 Kalle Valo wrote: > Steven Rostedt writes: > > > I wonder who's responsible for > > https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/ > > > > If they can add a i386/x86_64 build for gcc5 I'll be happy to download > > it and test this patch. > > Fou

Re: [PATCH] Use -mcount-record for dynamic ftrace

2015-04-13 Thread Kalle Valo
Steven Rostedt writes: > I wonder who's responsible for > https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/ > > If they can add a i386/x86_64 build for gcc5 I'll be happy to download > it and test this patch. Found this: "For any questions don't hesitate to contact me at tony (at) ba

Re: [PATCH] Use -mcount-record for dynamic ftrace

2015-04-13 Thread Steven Rostedt
On Tue, 14 Apr 2015 00:54:12 +0200 Andi Kleen wrote: > > > > I wonder who's responsible for > > > > https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/ > > > > > > > > If they can add a i386/x86_64 build for gcc5 I'll be happy to download > > > > it and test this patch. > > > > > > Tha

Re: [PATCH] Use -mcount-record for dynamic ftrace

2015-04-13 Thread Andi Kleen
> > > I wonder who's responsible for > > > https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/ > > > > > > If they can add a i386/x86_64 build for gcc5 I'll be happy to download > > > it and test this patch. > > > > That doesn't make any sense. > > > > What, adding gcc5 to the crosstoo

Re: [PATCH] Use -mcount-record for dynamic ftrace

2015-04-13 Thread Steven Rostedt
On Mon, 13 Apr 2015 14:55:08 -0700 Andi Kleen wrote: > > Interesting. But I can't accept this until I can test it. I don't have > > AFAIK that's a unique policy. I don't think any other maintainer operates > this way. Um, really? Other maintainers don't test patches that they maintain? This isn

Re: [PATCH] Use -mcount-record for dynamic ftrace

2015-04-13 Thread Andi Kleen
> Interesting. But I can't accept this until I can test it. I don't have AFAIK that's a unique policy. I don't think any other maintainer operates this way. > I wonder who's responsible for > https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/ > > If they can add a i386/x86_64 build for

Re: [PATCH] Use -mcount-record for dynamic ftrace

2015-04-13 Thread Steven Rostedt
On Sun, 12 Apr 2015 17:54:27 -0700 Andi Kleen wrote: > From: Andi Kleen > > gcc 5 supports a new -mcount-record option to generate ftrace > tables directly. This avoids the need to run record_mcount > manually. > > Use this option when available. > > It also has a -mcount-nop option to genera

[PATCH] Use -mcount-record for dynamic ftrace

2015-04-12 Thread Andi Kleen
From: Andi Kleen gcc 5 supports a new -mcount-record option to generate ftrace tables directly. This avoids the need to run record_mcount manually. Use this option when available. It also has a -mcount-nop option to generate the mcount calls as nops. So far that is not implemented, but it could