Lines Matching refs:notes
188 void annotation_line__write(struct annotation_line *al, struct annotation *notes,
191 int __annotation__scnprintf_samples_period(struct annotation *notes,
335 static inline void annotation__init(struct annotation *notes __maybe_unused) in annotation__init()
338 void annotation__exit(struct annotation *notes);
340 void annotation__lock(struct annotation *notes) EXCLUSIVE_LOCK_FUNCTION(*notes);
341 void annotation__unlock(struct annotation *notes) UNLOCK_FUNCTION(*notes);
342 bool annotation__trylock(struct annotation *notes) EXCLUSIVE_TRYLOCK_FUNCTION(true, *notes);
344 static inline int annotation__cycles_width(struct annotation *notes) in annotation__cycles_width() argument
346 if (notes->branch && annotate_opts.show_minmax_cycle) in annotation__cycles_width()
349 return notes->branch ? ANNOTATION__IPC_WIDTH + ANNOTATION__CYCLES_WIDTH : 0; in annotation__cycles_width()
352 static inline int annotation__pcnt_width(struct annotation *notes) in annotation__pcnt_width() argument
354 return (symbol_conf.show_total_period ? 12 : 8) * notes->src->nr_events; in annotation__pcnt_width()
367 void annotation__update_column_widths(struct annotation *notes);
368 void annotation__toggle_full_addr(struct annotation *notes, struct map_symbol *ms);
375 static inline struct sym_hist *annotation__histogram(struct annotation *notes, int idx) in annotation__histogram() argument
377 return annotated_source__histogram(notes->src, idx); in annotation__histogram()
399 struct annotated_branch *annotation__get_branch(struct annotation *notes);