Lines Matching refs:he
163 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument
165 return he->callchain_size != 0; in hist_entry__has_callchains()
168 int hist_entry__sym_snprintf(struct hist_entry *he, char *bf, size_t size, unsigned int width);
170 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() argument
172 return !list_empty(&he->pairs.node); in hist_entry__has_pairs()
175 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair() argument
177 if (hist_entry__has_pairs(he)) in hist_entry__next_pair()
178 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
183 struct hist_entry *he) in hist_entry__add_pair() argument
185 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair()
188 static inline float hist_entry__get_percent_limit(struct hist_entry *he) in hist_entry__get_percent_limit() argument
190 u64 period = he->stat.period; in hist_entry__get_percent_limit()
191 u64 total_period = hists__total_period(he->hists); in hist_entry__get_percent_limit()
197 period = he->stat_acc->period; in hist_entry__get_percent_limit()
270 int (*se_snprintf)(struct hist_entry *he, char *bf, size_t size,
272 int (*se_filter)(struct hist_entry *he, int type, const void *arg);
282 struct hist_entry he; member
316 char *hist_entry__srcline(struct hist_entry *he);