Re: [PATCH 2/2] perf:tools: figure out start address of kernel mapfrom /proc/kallsyms

From: Ming Lei
Date: Wed Nov 24 2010 - 09:38:36 EST


2010/11/24 Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxxxx>:
> Can you please use kallsyms__parse()? Please take a look at
> event__synthesize_kernel_mmap as it also uses it.

Good idea, but kallsyms__parse does not pass a parameter
which indicates if it is a module or kernel symbol to process handler.

So could you agree on adding one parameter which indicates if
the current symbol is module symbol to process handler?

If so, I can use kallsyms__parse.

thanks,
--
Lei Ming
--
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/