Skip to content
  • Ingo Molnar's avatar
    Revert "perf symbols: Demangle cloned functions" · 14951f22
    Ingo Molnar authored
    This reverts commit de95ab53
    
    .
    
    Markus Trippelsdorf reported that this commit broke 'perf top':
    
     > I just see a gray screen with no text at all. Sometimes the
     > following error messages are printed:
     >
     >  *** Error in `perf': invalid fastbin entry (free): 0x00000000029b18c0
     >  ***
     >  *** Error in `perf': malloc(): memory corruption (fast): 0x0000000000ee0b10 ***
    
    While this code is fixable, the commit itself fails on several levels:
    
     - it should have been a separate helper function
     - why the heck does it do strchr() twice
     - it casts a const char * over into char *
     - sloppy style
     - it's not even a regression fix!
    
    So lets revert it and re-try the patch in v3.13.
    
    Reported-by: default avatarMarkus Trippelsdorf <markus@trippelsdorf.de>
    Cc: Andi Kleen <ak@linux.intel.com>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    14951f22