* [tip:perf/core] perf report: Use ui__has_annotation()
[not found] <1395124359-11744-2-git-send-email-namhyung@kernel.org>
@ 2014-03-19 13:07 ` tip-bot for Namhyung Kim
0 siblings, 0 replies; only message in thread
From: tip-bot for Namhyung Kim @ 2014-03-19 13:07 UTC (permalink / raw)
To: linux-tip-commits
Cc: acme, linux-kernel, paulus, hpa, mingo, andi, a.p.zijlstra,
namhyung.kim, namhyung, jolsa, dsahern, tglx
Commit-ID: b9ce0c99d820b7680fdb4dc39bc7b5ff79d6b5b0
Gitweb: http://git.kernel.org/tip/b9ce0c99d820b7680fdb4dc39bc7b5ff79d6b5b0
Author: Namhyung Kim <namhyung@kernel.org>
AuthorDate: Tue, 18 Mar 2014 15:32:26 +0900
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Tue, 18 Mar 2014 18:17:02 -0300
perf report: Use ui__has_annotation()
Since we introduced the ui__has_annotation() for that, don't open code
it.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1395124359-11744-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/builtin-report.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index a74059f..c8f2113 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -928,7 +928,7 @@ repeat:
* so don't allocate extra space that won't be used in the stdio
* implementation.
*/
- if (use_browser == 1 && sort__has_sym) {
+ if (ui__has_annotation()) {
symbol_conf.priv_size = sizeof(struct annotation);
machines__set_symbol_filter(&session->machines,
symbol__annotate_init);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-19 13:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1395124359-11744-2-git-send-email-namhyung@kernel.org>
2014-03-19 13:07 ` [tip:perf/core] perf report: Use ui__has_annotation() tip-bot for Namhyung Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome