From 951533d8623ea347be0e648bb3cd3fb826c5d76c Mon Sep 17 00:00:00 2001 From: Namhyung Kim Date: Thu, 27 Dec 2012 18:11:42 +0900 Subject: [PATCH] --- yaml --- r: 349958 b: refs/heads/master c: cb993744554b0a5bd5c46239544cec9fd252a106 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/tools/perf/util/hist.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 733f43c93958..cd6ed59e59e7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dccf180542c4e27621ea526769014dc97b9e5676 +refs/heads/master: cb993744554b0a5bd5c46239544cec9fd252a106 diff --git a/trunk/tools/perf/util/hist.c b/trunk/tools/perf/util/hist.c index 965ebf948f2f..9485c7024f5b 100644 --- a/trunk/tools/perf/util/hist.c +++ b/trunk/tools/perf/util/hist.c @@ -82,6 +82,9 @@ void hists__calc_col_len(struct hists *hists, struct hist_entry *h) hists__new_col_len(hists, HISTC_DSO, len); } + if (h->parent) + hists__new_col_len(hists, HISTC_PARENT, h->parent->namelen); + if (h->branch_info) { int symlen; /*