From: Jiri Olsa Date: Tue, 14 Jun 2016 18:19:12 +0000 (+0200) Subject: perf tools: Fix Data Object sort entry width index X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=94c39988995d34f3de1b1763cc32141c67c0340c;p=openwrt%2Fstaging%2Fblogic.git perf tools: Fix Data Object sort entry width index Putting correct HISTC_MEM_DADDR_DSO index to Data Object sort entry. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1465928361-2442-3-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index c4e9bd70723c..ba5b42f28f0b 100644 --- a/tools/perf/util/sort.c +++ b/tools/perf/util/sort.c @@ -1218,7 +1218,7 @@ struct sort_entry sort_mem_daddr_dso = { .se_header = "Data Object", .se_cmp = sort__dso_daddr_cmp, .se_snprintf = hist_entry__dso_daddr_snprintf, - .se_width_idx = HISTC_MEM_DADDR_SYMBOL, + .se_width_idx = HISTC_MEM_DADDR_DSO, }; struct sort_entry sort_mem_locked = {