perf report: Improve sort key recognition
authorIngo Molnar <mingo@elte.hu>
Wed, 3 Jun 2009 08:07:39 +0000 (10:07 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 3 Jun 2009 08:07:39 +0000 (10:07 +0200)
commit5352f35d6ae7b8b981d77137fb268bc54d10624f
tree61d966a613ec2c6508656203a62ce7a9b668cc33
parent3502973d005ed89cc2b3f39780813a341ddba97f
perf report: Improve sort key recognition

 - allow case-insensitive tokens - such as --sort Comm,Symbol
 - allow substring shortcuts: --sort sym
 - detect invalid tokens and bail out

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: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/builtin-report.c