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

David Ahern
2013-08-09T02:51:24Z

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