Re: [PATCH] [RFC][PATCH] Remove /proc/kallsyms size verificationcheck in perf

From: Sonny Rao
Date: Mon Jul 11 2011 - 19:57:12 EST


>On Mon, Jul 11, 2011 at 3:57 PM, Sonny Rao <sonnyrao@xxxxxxxxxxxx> wrote:
> The check was failing when I was trying to profile system startup
> because the modules were being loaded and causing the size of
> kallsyms to change.  At first I changed the check to simply make
> sure the size of kallsyms increased, but that wouldn't cover the
> case of a module getting removed (or some removed and larger ones
> loaded).  I can't see any purpose to checking the size
> right after reading it either, so remove the check altogether.

Ignore this patch; I just realized it is actually copying all of
kallsyms into the
trace output file. I'll have to do something a bit smarter to fix
this problem --
I'll post a new patch when it's ready (and tested)

Sonny
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/