Lines Matching refs:he
156 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument
158 return he->callchain_size != 0; in hist_entry__has_callchains()
161 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() argument
163 return !list_empty(&he->pairs.node); in hist_entry__has_pairs()
166 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair() argument
168 if (hist_entry__has_pairs(he)) in hist_entry__next_pair()
169 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
174 struct hist_entry *he) in hist_entry__add_pair() argument
176 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair()
179 static inline float hist_entry__get_percent_limit(struct hist_entry *he) in hist_entry__get_percent_limit() argument
181 u64 period = he->stat.period; in hist_entry__get_percent_limit()
182 u64 total_period = hists__total_period(he->hists); in hist_entry__get_percent_limit()
188 period = he->stat_acc->period; in hist_entry__get_percent_limit()
269 int (*se_snprintf)(struct hist_entry *he, char *bf, size_t size,
271 int (*se_filter)(struct hist_entry *he, int type, const void *arg);
302 char *hist_entry__srcline(struct hist_entry *he);