Re: [PATCH] Add kallsyms_lookup() result cache

From: Jesse Barnes
Date: Fri Jun 18 2004 - 19:35:36 EST


On Friday, June 18, 2004 7:56 pm, Andi Kleen wrote:
> > Sure, but that would be a change in behavior. It's arguably the right
> > thing to do though.
>
> Change what behaviour? I argue that doing it in the kernel is the wrong
> thing.

/proc/<pid>/wchan reports the function name as a string. You're arguing that
doing that in the kernel is the wrong thing to do, right? If so, it would
make sense to change its behavior. Either way, I guess we can fix top to
use /proc/<pid>/stat instead, and lookup symbols in an external System.map
file.

Jesse
-
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/