• Masami Hiramatsu's avatar
    perf probe: Change event list format · 278498d4
    Masami Hiramatsu authored
    Change event list format for user readability. perf probe --list
    shows event list in "[GROUP:EVENT] EVENT-DEFINITION" format, but
    this format is different from the output of perf-list, and
    EVENT-DEFINITION is a bit blunt. This patch changes the format to
    more user friendly one.
    
    Before:
    [probe:schedule_0]	schedule+10 prev cpu
    
    After:
      probe:schedule_0                         (on schedule+10 with prev cpu)
    Signed-off-by: default avatarMasami Hiramatsu <mhiramat@redhat.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Jim Keniston <jkenisto@us.ibm.com>
    Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
    Cc: Christoph Hellwig <hch@infradead.org>
    Cc: Frank Ch. Eigler <fche@redhat.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Jason Baron <jbaron@redhat.com>
    Cc: K.Prasad <prasad@linux.vnet.ibm.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: systemtap <systemtap@sources.redhat.com>
    Cc: DLE <dle-develop@lists.sourceforge.net>
    LKML-Reference: <20091208220240.10142.42916.stgit@dhcp-100-2-132.bos.redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    278498d4
probe-event.c 11.8 KB