Lines Matching refs:notes
194 void annotation_line__write(struct annotation_line *al, struct annotation *notes,
197 int __annotation__scnprintf_samples_period(struct annotation *notes,
341 static inline void annotation__init(struct annotation *notes __maybe_unused)
344 void annotation__exit(struct annotation *notes);
346 void annotation__lock(struct annotation *notes) EXCLUSIVE_LOCK_FUNCTION(*notes);
347 void annotation__unlock(struct annotation *notes) UNLOCK_FUNCTION(*notes);
348 bool annotation__trylock(struct annotation *notes) EXCLUSIVE_TRYLOCK_FUNCTION(true, *notes);
350 static inline int annotation__cycles_width(struct annotation *notes)
352 if (notes->branch && annotate_opts.show_minmax_cycle)
355 return notes->branch ? ANNOTATION__IPC_WIDTH + ANNOTATION__CYCLES_WIDTH : 0;
358 static inline int annotation__pcnt_width(struct annotation *notes)
360 return (symbol_conf.show_total_period ? 12 : 8) * notes->src->nr_events;
373 void annotation__update_column_widths(struct annotation *notes);
374 void annotation__toggle_full_addr(struct annotation *notes, struct map_symbol *ms);
381 static inline struct sym_hist *annotation__histogram(struct annotation *notes, int idx)
383 return annotated_source__histogram(notes->src, idx);
405 struct annotated_branch *annotation__get_branch(struct annotation *notes);