• A
    perf: Don't assume /proc/kallsyms is ordered · abd54f68
    Arnaldo Carvalho de Melo 提交于
    perf: Don't assume /proc/kallsyms is ordered
    
    Since we _are_ ordering it by the symbol start, just traverse the
    freshly built rbtree setting the prev->end members to curr->start - 1.
    Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
    Cc: Marcelo Tosatti <mtosatti@redhat.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: John Kacur <jkacur@redhat.com>
    LKML-Reference: <20090526152134.GF4424@ghostprotocols.net>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    abd54f68
builtin-report.c 16.0 KB