Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1317975 > unrolled thread

[PATCH 3/4] perf hists: Fix HISTC_MEM_DCACHELINE width setting

Started byArnaldo Carvalho de Melo <acme@kernel.org>
First post2016-01-26 15:40 +0100
Last post2016-01-26 15:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3/4] perf hists: Fix HISTC_MEM_DCACHELINE width setting Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-26 15:40 +0100

#1317975 — [PATCH 3/4] perf hists: Fix HISTC_MEM_DCACHELINE width setting

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2016-01-26 15:40 +0100
Subject[PATCH 3/4] perf hists: Fix HISTC_MEM_DCACHELINE width setting
Message-ID<qVcWL-5sj-39@gated-at.bofh.it>
From: Jiri Olsa <jolsa@kernel.org>

Set correct width for unresolved mem_dcacheline addr.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Fixes: 9b32ba71ba90 ("perf tools: Add dcacheline sort")
Link: http://lkml.kernel.org/r/1453290995-18485-3-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/util/hist.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c
index c226303e3da0..68a7612019dc 100644
--- a/tools/perf/util/hist.c
+++ b/tools/perf/util/hist.c
@@ -131,6 +131,8 @@ void hists__calc_col_len(struct hists *hists, struct hist_entry *h)
 			symlen = unresolved_col_width + 4 + 2;
 			hists__new_col_len(hists, HISTC_MEM_DADDR_SYMBOL,
 					   symlen);
+			hists__new_col_len(hists, HISTC_MEM_DCACHELINE,
+					   symlen);
 		}
 
 		if (h->mem_info->iaddr.sym) {
-- 
2.5.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web