Commit 1124ba73 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by Ingo Molnar

perf buildid-list: Always show the DSO name

Porcelain can ignore it, humans can make more sense of it.
Suggested-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
Suggested-by: default avatarIngo Molnar <mingo@elte.hu>
Suggested-by: default avatarPeter Zijlstra <peterz@infradead.org>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1258415125-15019-2-git-send-email-acme@infradead.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 8ffcda17
...@@ -26,7 +26,7 @@ OPTIONS ...@@ -26,7 +26,7 @@ OPTIONS
Don't do ownership validation. Don't do ownership validation.
-v:: -v::
--verbose:: --verbose::
Be more verbose, showing the name of the DSOs after the buildids. Be more verbose.
SEE ALSO SEE ALSO
-------- --------
......
...@@ -28,7 +28,7 @@ static const struct option options[] = { ...@@ -28,7 +28,7 @@ static const struct option options[] = {
"input file name"), "input file name"),
OPT_BOOLEAN('f', "force", &force, "don't complain, do it"), OPT_BOOLEAN('f', "force", &force, "don't complain, do it"),
OPT_BOOLEAN('v', "verbose", &verbose, OPT_BOOLEAN('v', "verbose", &verbose,
"be more verbose (show counter open errors, etc)"), "be more verbose"),
OPT_END() OPT_END()
}; };
......
...@@ -1442,10 +1442,7 @@ size_t dsos__fprintf_buildid(FILE *fp) ...@@ -1442,10 +1442,7 @@ size_t dsos__fprintf_buildid(FILE *fp)
list_for_each_entry(pos, &dsos, node) { list_for_each_entry(pos, &dsos, node) {
ret += dso__fprintf_buildid(pos, fp); ret += dso__fprintf_buildid(pos, fp);
if (verbose)
ret += fprintf(fp, " %s\n", pos->long_name); ret += fprintf(fp, " %s\n", pos->long_name);
else
ret += fprintf(fp, "\n");
} }
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment