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


Groups > linux.kernel > #1313161

[PATCH 2/4] perf tools: Fix HISTC_MEM_DCACHELINE width setting

From Jiri Olsa <jolsa@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 2/4] perf tools: Fix HISTC_MEM_DCACHELINE width setting
Date 2016-01-20 13:00 +0100
Message-ID <qSZAD-5Pv-19@gated-at.bofh.it> (permalink)
References <qSZAD-5Pv-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Set correct with for unresolved addr.

Link: http://lkml.kernel.org/n/tip-llh940fx5l1em3au9sse2lss@git.kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
 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.4.3

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] perf tools: Fixes Jiri Olsa <jolsa@kernel.org> - 2016-01-20 13:00 +0100
  [PATCH 4/4] perf stat: Making several helper functions static Jiri Olsa <jolsa@kernel.org> - 2016-01-20 13:00 +0100
  [PATCH 2/4] perf tools: Fix HISTC_MEM_DCACHELINE width setting Jiri Olsa <jolsa@kernel.org> - 2016-01-20 13:00 +0100
  [PATCH 1/4] perf tools: Do not read symbols/data from device files Jiri Olsa <jolsa@kernel.org> - 2016-01-20 13:00 +0100
  [PATCH 3/4] perf stat: Do not clean event's private stats Jiri Olsa <jolsa@kernel.org> - 2016-01-20 13:00 +0100

csiph-web