diff options
author | Jiri Olsa <jolsa@kernel.org> | 2014-07-14 17:46:47 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-07-17 10:04:42 -0400 |
commit | acebd408bef17169fbf79079b96f0264b535916c (patch) | |
tree | be8603261bce76e0a6a4466f1f3440206bab393e /tools/perf/util/thread.c | |
parent | 418029b7324f8b90ac1dfbc8a44555d6905be761 (diff) |
perf tools: Remove verbose from functions prototypes
And use verbose as an global object in following functions:
__map_groups__fprintf_maps
__map_groups__fprintf_removed_maps
map_groups__fprintf_maps
map_groups__fprintf
Also making map_groups__fprintf_maps static.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1405374411-29012-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/thread.c')
-rw-r--r-- | tools/perf/util/thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/thread.c b/tools/perf/util/thread.c index b9c36ef42d2f..9692c06a9e21 100644 --- a/tools/perf/util/thread.c +++ b/tools/perf/util/thread.c | |||
@@ -129,12 +129,12 @@ int thread__comm_len(struct thread *thread) | |||
129 | size_t thread__fprintf(struct thread *thread, FILE *fp) | 129 | size_t thread__fprintf(struct thread *thread, FILE *fp) |
130 | { | 130 | { |
131 | return fprintf(fp, "Thread %d %s\n", thread->tid, thread__comm_str(thread)) + | 131 | return fprintf(fp, "Thread %d %s\n", thread->tid, thread__comm_str(thread)) + |
132 | map_groups__fprintf(thread->mg, verbose, fp); | 132 | map_groups__fprintf(thread->mg, fp); |
133 | } | 133 | } |
134 | 134 | ||
135 | void thread__insert_map(struct thread *thread, struct map *map) | 135 | void thread__insert_map(struct thread *thread, struct map *map) |
136 | { | 136 | { |
137 | map_groups__fixup_overlappings(thread->mg, map, verbose, stderr); | 137 | map_groups__fixup_overlappings(thread->mg, map, stderr); |
138 | map_groups__insert(thread->mg, map); | 138 | map_groups__insert(thread->mg, map); |
139 | } | 139 | } |
140 | 140 | ||