diff options
Diffstat (limited to 'tools/perf/util/hist.h')
-rw-r--r-- | tools/perf/util/hist.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h index 1329b6b6ffe6..6a048c09cd64 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h | |||
@@ -45,6 +45,8 @@ enum hist_column { | |||
45 | HISTC_CPU, | 45 | HISTC_CPU, |
46 | HISTC_SRCLINE, | 46 | HISTC_SRCLINE, |
47 | HISTC_MISPREDICT, | 47 | HISTC_MISPREDICT, |
48 | HISTC_IN_TX, | ||
49 | HISTC_ABORT, | ||
48 | HISTC_SYMBOL_FROM, | 50 | HISTC_SYMBOL_FROM, |
49 | HISTC_SYMBOL_TO, | 51 | HISTC_SYMBOL_TO, |
50 | HISTC_DSO_FROM, | 52 | HISTC_DSO_FROM, |
@@ -57,6 +59,7 @@ enum hist_column { | |||
57 | HISTC_MEM_TLB, | 59 | HISTC_MEM_TLB, |
58 | HISTC_MEM_LVL, | 60 | HISTC_MEM_LVL, |
59 | HISTC_MEM_SNOOP, | 61 | HISTC_MEM_SNOOP, |
62 | HISTC_TRANSACTION, | ||
60 | HISTC_NR_COLS, /* Last entry */ | 63 | HISTC_NR_COLS, /* Last entry */ |
61 | }; | 64 | }; |
62 | 65 | ||
@@ -82,9 +85,10 @@ struct hists { | |||
82 | struct hist_entry *__hists__add_entry(struct hists *self, | 85 | struct hist_entry *__hists__add_entry(struct hists *self, |
83 | struct addr_location *al, | 86 | struct addr_location *al, |
84 | struct symbol *parent, u64 period, | 87 | struct symbol *parent, u64 period, |
85 | u64 weight); | 88 | u64 weight, u64 transaction); |
86 | int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right); | 89 | int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right); |
87 | int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right); | 90 | int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right); |
91 | int hist_entry__transaction_len(void); | ||
88 | int hist_entry__sort_snprintf(struct hist_entry *self, char *bf, size_t size, | 92 | int hist_entry__sort_snprintf(struct hist_entry *self, char *bf, size_t size, |
89 | struct hists *hists); | 93 | struct hists *hists); |
90 | void hist_entry__free(struct hist_entry *); | 94 | void hist_entry__free(struct hist_entry *); |