aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorJason Baron <jbaron@redhat.com>2009-08-10 16:53:06 -0400
committerFrederic Weisbecker <fweisbec@gmail.com>2009-08-11 14:35:29 -0400
commit48c2e17f1f668fe6691bad965beb2b0b25239c5f (patch)
treec46dc47bd05e678736049bdcaa0651fdb86371f9 /tools/perf
parentf4b5ffccc83c82947f5d9f15d6f1b6edb1b71cd7 (diff)
tracing: Add more namespace area to 'perf list' output
The new syscall tracepoints names can be too long for the 'perf list' output. Add a few more characters. Signed-off-by: Jason Baron <jbaron@redhat.com> Cc: Lai Jiangshan <laijs@cn.fujitsu.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Cc: Jiaying Zhang <jiayingz@google.com> Cc: Martin Bligh <mbligh@google.com> Cc: Li Zefan <lizf@cn.fujitsu.com> Cc: Masami Hiramatsu <mhiramat@redhat.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/util/parse-events.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c
index 4858d83b3b67..a5d661b99af6 100644
--- a/tools/perf/util/parse-events.c
+++ b/tools/perf/util/parse-events.c
@@ -606,7 +606,7 @@ static void print_tracepoint_events(void)
606 evt_path, st) { 606 evt_path, st) {
607 snprintf(evt_path, MAXPATHLEN, "%s:%s", 607 snprintf(evt_path, MAXPATHLEN, "%s:%s",
608 sys_dirent.d_name, evt_dirent.d_name); 608 sys_dirent.d_name, evt_dirent.d_name);
609 fprintf(stderr, " %-40s [%s]\n", evt_path, 609 fprintf(stderr, " %-42s [%s]\n", evt_path,
610 event_type_descriptors[PERF_TYPE_TRACEPOINT+1]); 610 event_type_descriptors[PERF_TYPE_TRACEPOINT+1]);
611 } 611 }
612 closedir(evt_dir); 612 closedir(evt_dir);
@@ -640,7 +640,7 @@ void print_events(void)
640 sprintf(name, "%s OR %s", syms->symbol, syms->alias); 640 sprintf(name, "%s OR %s", syms->symbol, syms->alias);
641 else 641 else
642 strcpy(name, syms->symbol); 642 strcpy(name, syms->symbol);
643 fprintf(stderr, " %-40s [%s]\n", name, 643 fprintf(stderr, " %-42s [%s]\n", name,
644 event_type_descriptors[type]); 644 event_type_descriptors[type]);
645 645
646 prev_type = type; 646 prev_type = type;
@@ -654,7 +654,7 @@ void print_events(void)
654 continue; 654 continue;
655 655
656 for (i = 0; i < PERF_COUNT_HW_CACHE_RESULT_MAX; i++) { 656 for (i = 0; i < PERF_COUNT_HW_CACHE_RESULT_MAX; i++) {
657 fprintf(stderr, " %-40s [%s]\n", 657 fprintf(stderr, " %-42s [%s]\n",
658 event_cache_name(type, op, i), 658 event_cache_name(type, op, i),
659 event_type_descriptors[4]); 659 event_type_descriptors[4]);
660 } 660 }
@@ -662,7 +662,7 @@ void print_events(void)
662 } 662 }
663 663
664 fprintf(stderr, "\n"); 664 fprintf(stderr, "\n");
665 fprintf(stderr, " %-40s [raw hardware event descriptor]\n", 665 fprintf(stderr, " %-42s [raw hardware event descriptor]\n",
666 "rNNN"); 666 "rNNN");
667 fprintf(stderr, "\n"); 667 fprintf(stderr, "\n");
668 668