Lines Matching refs:he
158 static __pure inline bool hist_entry__has_callchains(struct hist_entry *he) in hist_entry__has_callchains() argument
160 return he->callchain_size != 0; in hist_entry__has_callchains()
163 static inline bool hist_entry__has_pairs(struct hist_entry *he) in hist_entry__has_pairs() argument
165 return !list_empty(&he->pairs.node); in hist_entry__has_pairs()
168 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) in hist_entry__next_pair() argument
170 if (hist_entry__has_pairs(he)) in hist_entry__next_pair()
171 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
176 struct hist_entry *he) in hist_entry__add_pair() argument
178 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair()
181 static inline float hist_entry__get_percent_limit(struct hist_entry *he) in hist_entry__get_percent_limit() argument
183 u64 period = he->stat.period; in hist_entry__get_percent_limit()
184 u64 total_period = hists__total_period(he->hists); in hist_entry__get_percent_limit()
190 period = he->stat_acc->period; in hist_entry__get_percent_limit()
262 int (*se_snprintf)(struct hist_entry *he, char *bf, size_t size,
264 int (*se_filter)(struct hist_entry *he, int type, const void *arg);
274 struct hist_entry he; member
306 char *hist_entry__srcline(struct hist_entry *he);