From: Arnaldo Carvalho de Melo Date: Fri, 27 Nov 2009 18:29:18 +0000 (-0200) Subject: perf symbols: Make the kallsyms loading routines part of the dso class X-Git-Tag: v2.6.33-rc1~399^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e06255f5cf2acf6a5abfe7df8c9690463259dea;p=pandora-kernel.git perf symbols: Make the kallsyms loading routines part of the dso class So that the kallsyms loading routines are the direct counterpart of the vmlinux loading ones, i.e. dso__load_kallsyms is the counterpart of dso__load_vmlinux. In the process make them also use the symbols rb tree indexed by map->type, paving the way for supporting other types of symtabs, such as the next one to be supported: variables. This also allowed removal of yet another global variable: kernel_map__functions. Signed-off-by: Arnaldo Carvalho de Melo Cc: Frédéric Weisbecker Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Paul Mackerras LKML-Reference: <1259346563-12568-7-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed