Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2014-01-07 Thread Arnd Bergmann
On Tuesday 07 January 2014 22:33:24 Ming Lei wrote: > On Tue, Jan 7, 2014 at 10:12 PM, Arnd Bergmann wrote: > > On Monday 28 October 2013, Ming Lei wrote: > > We had posted two patches to address the problem, see below link: > >http://lists.scusting.com/index.php?t=msg&goto=1726509&S=Google

Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2014-01-07 Thread Ming Lei
Hi Arnd, On Tue, Jan 7, 2014 at 10:12 PM, Arnd Bergmann wrote: > On Monday 28 October 2013, Ming Lei wrote: >> This patch uses CONFIG_PAGE_OFFSET to filter symbols which >> are not in kernel address space because these symbols are >> generally for generating code purpose and can't be run at >> ke

Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2014-01-07 Thread Arnd Bergmann
On Monday 28 October 2013, Ming Lei wrote: > This patch uses CONFIG_PAGE_OFFSET to filter symbols which > are not in kernel address space because these symbols are > generally for generating code purpose and can't be run at > kernel mode, so we needn't keep them in /proc/kallsyms. > > For example,

Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2013-10-31 Thread Stephen Rothwell
Hi Rusty, On Fri, 01 Nov 2013 13:06:27 +1030 Rusty Russell wrote: > > Stephen, please run this on todays' linux-next, so I can push to Linus > asap. Thanks... OK, I will apply this near the end of linux-next today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpwxqi

Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2013-10-31 Thread Ming Lei
Hi Andrew, Thanks for your comment. On Fri, Nov 1, 2013 at 6:43 AM, Andrew Morton wrote: > > For a start, please describe with great precision what these excluded > symbols are (examples would help) and explain why no application will > conceivably have had any use for them. Looks Russell has g

Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2013-10-31 Thread Russell King - ARM Linux
On Thu, Oct 31, 2013 at 03:58:31PM -0700, Andrew Morton wrote: > On Thu, 31 Oct 2013 22:50:22 + Russell King - ARM Linux > wrote: > > > On Thu, Oct 31, 2013 at 03:43:11PM -0700, Andrew Morton wrote: > > > On Mon, 28 Oct 2013 23:48:59 +0800 Ming Lei wrote: > > > > > > > This patch uses CONF

Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2013-10-31 Thread Andrew Morton
On Thu, 31 Oct 2013 22:50:22 + Russell King - ARM Linux wrote: > On Thu, Oct 31, 2013 at 03:43:11PM -0700, Andrew Morton wrote: > > On Mon, 28 Oct 2013 23:48:59 +0800 Ming Lei wrote: > > > > > This patch uses CONFIG_PAGE_OFFSET to filter symbols which > > > are not in kernel address space

Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2013-10-31 Thread Russell King - ARM Linux
On Thu, Oct 31, 2013 at 03:43:11PM -0700, Andrew Morton wrote: > On Mon, 28 Oct 2013 23:48:59 +0800 Ming Lei wrote: > > > This patch uses CONFIG_PAGE_OFFSET to filter symbols which > > are not in kernel address space because these symbols are > > generally for generating code purpose and can't be

Re: [PATCH] scripts/kallsyms: filter symbols not in kernel address space

2013-10-31 Thread Andrew Morton
On Mon, 28 Oct 2013 23:48:59 +0800 Ming Lei wrote: > This patch uses CONFIG_PAGE_OFFSET to filter symbols which > are not in kernel address space because these symbols are > generally for generating code purpose and can't be run at > kernel mode, so we needn't keep them in /proc/kallsyms. > > Fo