aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/hist.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/hist.c')
-rw-r--r--tools/perf/util/hist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c
index 7e80253074b0..30793f98c8bb 100644
--- a/tools/perf/util/hist.c
+++ b/tools/perf/util/hist.c
@@ -416,6 +416,7 @@ struct hist_entry *__hists__add_mem_entry(struct hists *hists,
416{ 416{
417 struct hist_entry entry = { 417 struct hist_entry entry = {
418 .thread = al->thread, 418 .thread = al->thread,
419 .comm = thread__comm(al->thread),
419 .ms = { 420 .ms = {
420 .map = al->map, 421 .map = al->map,
421 .sym = al->sym, 422 .sym = al->sym,
@@ -446,6 +447,7 @@ struct hist_entry *__hists__add_branch_entry(struct hists *hists,
446{ 447{
447 struct hist_entry entry = { 448 struct hist_entry entry = {
448 .thread = al->thread, 449 .thread = al->thread,
450 .comm = thread__comm(al->thread),
449 .ms = { 451 .ms = {
450 .map = bi->to.map, 452 .map = bi->to.map,
451 .sym = bi->to.sym, 453 .sym = bi->to.sym,
@@ -475,6 +477,7 @@ struct hist_entry *__hists__add_entry(struct hists *hists,
475{ 477{
476 struct hist_entry entry = { 478 struct hist_entry entry = {
477 .thread = al->thread, 479 .thread = al->thread,
480 .comm = thread__comm(al->thread),
478 .ms = { 481 .ms = {
479 .map = al->map, 482 .map = al->map,
480 .sym = al->sym, 483 .sym = al->sym,