Re: [PATCH 08/19] perf symbol: Save vmlinux or kallsyms path loaded

From: David Ahern
Date: Thu Aug 08 2013 - 22:51:28 EST


On 8/8/13 11:08 AM, Arnaldo Carvalho de Melo wrote:
Em Wed, Aug 07, 2013 at 10:50:50PM -0400, David Ahern escreveu:
Save vmlinux or kallsyms path loaded using embedded default lookup (ie.,
not a user specified path). Upcoming perf sched timehist command requires
kernel symbols for properly computing idle times and prints a warning
if the kernel symbols are not loaded.

With this we will not know if the user passed something to set those
variables or if internally we did it, doesn't this break any existing
code assumption?

I believe this only affects code paths that go to default locations.

I am not aware of any code that looks at the path once the syms are loaded. AFAIK the timehist command is the first.

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