Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-11-02 Thread Steven Rostedt
On Mon, 2 Nov 2015 18:28:37 + Will Deacon wrote: > I see you're playing "chase the patches" at the moment ;) > Why yes I am! Trying to grab last minute patches from my INBOX (or they could be old patches that I just missed), before kicking off my 12 hour test suite. -- Steve -- To unsubsc

Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-11-02 Thread Will Deacon
On Mon, Nov 02, 2015 at 01:26:08PM -0500, Steven Rostedt wrote: > On Fri, 30 Oct 2015 14:00:28 +0800 > libin wrote: > > > It is a bug in nop_mcount: > > ... > > if (mcountsym == Elf_r_sym(relp) && !is_fake_mcount(relp)) { > > if (make_nop) { > > ret = make_nop((void *)ehdr

Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-11-02 Thread Steven Rostedt
On Fri, 30 Oct 2015 14:00:28 +0800 libin wrote: > It is a bug in nop_mcount: > ... > if (mcountsym == Elf_r_sym(relp) && !is_fake_mcount(relp)) { > if (make_nop) { > ret = make_nop((void *)ehdr, shdr->sh_offset + > relp->r_offset); > } > ... > > shdr->sh_offset a

Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-10-29 Thread libin
在 2015/10/29 23:09, Will Deacon 写道: > On Thu, Oct 29, 2015 at 09:35:42PM +0800, kbuild test robot wrote: >> [auto build test ERROR on arm64/for-next/core -- if it's inappropriate base, >> please suggest rules for selecting the more suitable base] >> >> url: >> https://github.com/0day-ci/linu

Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-10-29 Thread Will Deacon
On Thu, Oct 29, 2015 at 09:35:42PM +0800, kbuild test robot wrote: > [auto build test ERROR on arm64/for-next/core -- if it's inappropriate base, > please suggest rules for selecting the more suitable base] > > url: > https://github.com/0day-ci/linux/commits/Li-Bin/recordmcount-arm64-replace-

Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-10-29 Thread kbuild test robot
Hi Li, [auto build test ERROR on arm64/for-next/core -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Li-Bin/recordmcount-arm64-replace-the-ignored-mcount-call-into-nop/20151028-160846 config: arm64-allmod

Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-10-28 Thread AKASHI Takahiro
On 10/28/2015 08:58 PM, Will Deacon wrote: On Wed, Oct 28, 2015 at 04:16:19AM -0400, Steven Rostedt wrote: On Wed, 28 Oct 2015 16:04:05 +0800 Li Bin wrote: By now, the recordmcount only records the function that in following sections: .text/.ref.text/.sched.text/.spinlock.text/.irqentry.text/

Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-10-28 Thread Will Deacon
On Wed, Oct 28, 2015 at 04:16:19AM -0400, Steven Rostedt wrote: > On Wed, 28 Oct 2015 16:04:05 +0800 > Li Bin wrote: > > > By now, the recordmcount only records the function that in > > following sections: > > .text/.ref.text/.sched.text/.spinlock.text/.irqentry.text/ > > .kprobes.text/.text.unli

Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-10-28 Thread Steven Rostedt
On Wed, 28 Oct 2015 16:04:05 +0800 Li Bin wrote: > By now, the recordmcount only records the function that in > following sections: > .text/.ref.text/.sched.text/.spinlock.text/.irqentry.text/ > .kprobes.text/.text.unlikely > > For the function that not in these sections, the call mcount > will

[PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-10-28 Thread Li Bin
By now, the recordmcount only records the function that in following sections: .text/.ref.text/.sched.text/.spinlock.text/.irqentry.text/ .kprobes.text/.text.unlikely For the function that not in these sections, the call mcount will be in place and not be replaced when kernel boot up. And it will