diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-11 16:24:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-11 16:24:03 -0400 |
commit | 483e3cd6a34ad2d7e41100bc1b98614ac42a4567 (patch) | |
tree | ef544ccdd1e95991c32fd8b656714583b7398371 /tools/perf | |
parent | 774a694f8cd08115d130a290d73c6d8563f26b1b (diff) | |
parent | d28daf923ac5e4a0d7cecebae56f3e339189366b (diff) |
Merge branch 'tracing-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'tracing-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (105 commits)
ring-buffer: only enable ring_buffer_swap_cpu when needed
ring-buffer: check for swapped buffers in start of committing
tracing: report error in trace if we fail to swap latency buffer
tracing: add trace_array_printk for internal tracers to use
tracing: pass around ring buffer instead of tracer
tracing: make tracing_reset safe for external use
tracing: use timestamp to determine start of latency traces
tracing: Remove mentioning of legacy latency_trace file from documentation
tracing/filters: Defer pred allocation, fix memory leak
tracing: remove users of tracing_reset
tracing: disable buffers and synchronize_sched before resetting
tracing: disable update max tracer while reading trace
tracing: print out start and stop in latency traces
ring-buffer: disable all cpu buffers when one finds a problem
ring-buffer: do not count discarded events
ring-buffer: remove ring_buffer_event_discard
ring-buffer: fix ring_buffer_read crossing pages
ring-buffer: remove unnecessary cpu_relax
ring-buffer: do not swap buffers during a commit
ring-buffer: do not reset while in a commit
...
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/util/parse-events.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index 52219d5a507b..a587d41ae3c9 100644 --- a/tools/perf/util/parse-events.c +++ b/tools/perf/util/parse-events.c | |||
@@ -653,7 +653,7 @@ static void print_tracepoint_events(void) | |||
653 | for_each_event(sys_dirent, evt_dir, evt_dirent, evt_next) { | 653 | for_each_event(sys_dirent, evt_dir, evt_dirent, evt_next) { |
654 | snprintf(evt_path, MAXPATHLEN, "%s:%s", | 654 | snprintf(evt_path, MAXPATHLEN, "%s:%s", |
655 | sys_dirent.d_name, evt_dirent.d_name); | 655 | sys_dirent.d_name, evt_dirent.d_name); |
656 | fprintf(stderr, " %-40s [%s]\n", evt_path, | 656 | fprintf(stderr, " %-42s [%s]\n", evt_path, |
657 | event_type_descriptors[PERF_TYPE_TRACEPOINT+1]); | 657 | event_type_descriptors[PERF_TYPE_TRACEPOINT+1]); |
658 | } | 658 | } |
659 | closedir(evt_dir); | 659 | closedir(evt_dir); |
@@ -687,7 +687,7 @@ void print_events(void) | |||
687 | sprintf(name, "%s OR %s", syms->symbol, syms->alias); | 687 | sprintf(name, "%s OR %s", syms->symbol, syms->alias); |
688 | else | 688 | else |
689 | strcpy(name, syms->symbol); | 689 | strcpy(name, syms->symbol); |
690 | fprintf(stderr, " %-40s [%s]\n", name, | 690 | fprintf(stderr, " %-42s [%s]\n", name, |
691 | event_type_descriptors[type]); | 691 | event_type_descriptors[type]); |
692 | 692 | ||
693 | prev_type = type; | 693 | prev_type = type; |
@@ -701,7 +701,7 @@ void print_events(void) | |||
701 | continue; | 701 | continue; |
702 | 702 | ||
703 | for (i = 0; i < PERF_COUNT_HW_CACHE_RESULT_MAX; i++) { | 703 | for (i = 0; i < PERF_COUNT_HW_CACHE_RESULT_MAX; i++) { |
704 | fprintf(stderr, " %-40s [%s]\n", | 704 | fprintf(stderr, " %-42s [%s]\n", |
705 | event_cache_name(type, op, i), | 705 | event_cache_name(type, op, i), |
706 | event_type_descriptors[4]); | 706 | event_type_descriptors[4]); |
707 | } | 707 | } |
@@ -709,7 +709,7 @@ void print_events(void) | |||
709 | } | 709 | } |
710 | 710 | ||
711 | fprintf(stderr, "\n"); | 711 | fprintf(stderr, "\n"); |
712 | fprintf(stderr, " %-40s [raw hardware event descriptor]\n", | 712 | fprintf(stderr, " %-42s [raw hardware event descriptor]\n", |
713 | "rNNN"); | 713 | "rNNN"); |
714 | fprintf(stderr, "\n"); | 714 | fprintf(stderr, "\n"); |
715 | 715 | ||