Lines Matching refs:he
168 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument
170 return he->callchain_size != 0; in hist_entry__has_callchains()
173 int hist_entry__sym_snprintf(struct hist_entry *he, char *bf, size_t size, unsigned int width);
175 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() argument
177 return !list_empty(&he->pairs.node); in hist_entry__has_pairs()
180 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair() argument
182 if (hist_entry__has_pairs(he)) in hist_entry__next_pair()
183 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
188 struct hist_entry *he) in hist_entry__add_pair() argument
190 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair()
193 static inline float hist_entry__get_percent_limit(struct hist_entry *he) in hist_entry__get_percent_limit() argument
195 u64 period = he->stat.period; in hist_entry__get_percent_limit()
196 u64 total_period = hists__total_period(he->hists); in hist_entry__get_percent_limit()
202 period = he->stat_acc->period; in hist_entry__get_percent_limit()
288 int (*se_snprintf)(struct hist_entry *he, char *bf, size_t size,
290 int (*se_filter)(struct hist_entry *he, int type, const void *arg);
291 void (*se_init)(struct hist_entry *he);
301 struct hist_entry he; member
334 char *hist_entry__srcline(struct hist_entry *he);