Lines Matching refs:notes
201 void annotation_line__write(struct annotation_line *al, struct annotation *notes,
204 int __annotation__scnprintf_samples_period(struct annotation *notes,
348 static inline void annotation__init(struct annotation *notes __maybe_unused) in annotation__init()
351 void annotation__exit(struct annotation *notes);
353 void annotation__lock(struct annotation *notes) EXCLUSIVE_LOCK_FUNCTION(*notes);
354 void annotation__unlock(struct annotation *notes) UNLOCK_FUNCTION(*notes);
355 bool annotation__trylock(struct annotation *notes) EXCLUSIVE_TRYLOCK_FUNCTION(true, *notes);
357 static inline int annotation__cycles_width(struct annotation *notes) in annotation__cycles_width() argument
359 if (notes->branch && annotate_opts.show_minmax_cycle) in annotation__cycles_width()
362 return notes->branch ? ANNOTATION__IPC_WIDTH + ANNOTATION__CYCLES_WIDTH : 0; in annotation__cycles_width()
365 static inline int annotation__pcnt_width(struct annotation *notes) in annotation__pcnt_width() argument
367 return (symbol_conf.show_total_period ? 12 : 8) * notes->src->nr_events; in annotation__pcnt_width()
380 void annotation__update_column_widths(struct annotation *notes);
381 void annotation__toggle_full_addr(struct annotation *notes, struct map_symbol *ms);
389 static inline struct sym_hist *annotation__histogram(struct annotation *notes, in annotation__histogram() argument
392 return annotated_source__histogram(notes->src, evsel); in annotation__histogram()
414 struct annotated_branch *annotation__get_branch(struct annotation *notes);