Lines Matching refs:he
166 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument
168 return he->callchain_size != 0; in hist_entry__has_callchains()
171 int hist_entry__sym_snprintf(struct hist_entry *he, char *bf, size_t size, unsigned int width);
173 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() argument
175 return !list_empty(&he->pairs.node); in hist_entry__has_pairs()
178 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair() argument
180 if (hist_entry__has_pairs(he)) in hist_entry__next_pair()
181 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
186 struct hist_entry *he) in hist_entry__add_pair() argument
188 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair()
191 static inline float hist_entry__get_percent_limit(struct hist_entry *he) in hist_entry__get_percent_limit() argument
193 u64 period = he->stat.period; in hist_entry__get_percent_limit()
194 u64 total_period = hists__total_period(he->hists); in hist_entry__get_percent_limit()
200 period = he->stat_acc->period; in hist_entry__get_percent_limit()
279 int (*se_snprintf)(struct hist_entry *he, char *bf, size_t size,
281 int (*se_filter)(struct hist_entry *he, int type, const void *arg);
291 struct hist_entry he; member
325 char *hist_entry__srcline(struct hist_entry *he);