Skip to content
  • Arnaldo Carvalho de Melo's avatar
    perf symbols: Make the kallsyms loading routines part of the dso class · 4e06255f
    Arnaldo Carvalho de Melo authored
    
    
    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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Frédéric Weisbecker <fweisbec@gmail.com>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Paul Mackerras <paulus@samba.org>
    LKML-Reference: <1259346563-12568-7-git-send-email-acme@infradead.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    4e06255f