diff options
Diffstat (limited to 'tools/perf/util/hist.c')
-rw-r--r-- | tools/perf/util/hist.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c index 5a0a4b2cadc4..30df6187ee02 100644 --- a/tools/perf/util/hist.c +++ b/tools/perf/util/hist.c | |||
@@ -128,6 +128,8 @@ void hists__calc_col_len(struct hists *hists, struct hist_entry *h) | |||
128 | + unresolved_col_width + 2; | 128 | + unresolved_col_width + 2; |
129 | hists__new_col_len(hists, HISTC_MEM_DADDR_SYMBOL, | 129 | hists__new_col_len(hists, HISTC_MEM_DADDR_SYMBOL, |
130 | symlen); | 130 | symlen); |
131 | hists__new_col_len(hists, HISTC_MEM_DCACHELINE, | ||
132 | symlen + 1); | ||
131 | } else { | 133 | } else { |
132 | symlen = unresolved_col_width + 4 + 2; | 134 | symlen = unresolved_col_width + 4 + 2; |
133 | hists__new_col_len(hists, HISTC_MEM_DADDR_SYMBOL, | 135 | hists__new_col_len(hists, HISTC_MEM_DADDR_SYMBOL, |
@@ -439,9 +441,10 @@ struct hist_entry *__hists__add_entry(struct hists *hists, | |||
439 | .map = al->map, | 441 | .map = al->map, |
440 | .sym = al->sym, | 442 | .sym = al->sym, |
441 | }, | 443 | }, |
442 | .cpu = al->cpu, | 444 | .cpu = al->cpu, |
443 | .ip = al->addr, | 445 | .cpumode = al->cpumode, |
444 | .level = al->level, | 446 | .ip = al->addr, |
447 | .level = al->level, | ||
445 | .stat = { | 448 | .stat = { |
446 | .nr_events = 1, | 449 | .nr_events = 1, |
447 | .period = period, | 450 | .period = period, |