Lines Matching refs:notes
216 void annotation_line__write(struct annotation_line *al, struct annotation *notes,
220 int __annotation__scnprintf_samples_period(struct annotation *notes,
300 static inline void annotation__init(struct annotation *notes __maybe_unused)
303 void annotation__exit(struct annotation *notes);
305 void annotation__lock(struct annotation *notes) EXCLUSIVE_LOCK_FUNCTION(*notes);
306 void annotation__unlock(struct annotation *notes) UNLOCK_FUNCTION(*notes);
307 bool annotation__trylock(struct annotation *notes) EXCLUSIVE_TRYLOCK_FUNCTION(true, *notes);
309 static inline int annotation__cycles_width(struct annotation *notes)
311 if (notes->have_cycles && notes->options->show_minmax_cycle)
314 return notes->have_cycles ? ANNOTATION__IPC_WIDTH + ANNOTATION__CYCLES_WIDTH : 0;
317 static inline int annotation__pcnt_width(struct annotation *notes)
319 return (symbol_conf.show_total_period ? 12 : 7) * notes->nr_events;
322 static inline bool annotation_line__filter(struct annotation_line *al, struct annotation *notes)
324 return notes->options->hide_src_code && al->offset == -1;
327 void annotation__set_offsets(struct annotation *notes, s64 size);
328 void annotation__compute_ipc(struct annotation *notes, size_t size);
329 void annotation__mark_jump_targets(struct annotation *notes, struct symbol *sym);
330 void annotation__update_column_widths(struct annotation *notes);
331 void annotation__init_column_widths(struct annotation *notes, struct symbol *sym);
332 void annotation__toggle_full_addr(struct annotation *notes, struct map_symbol *ms);
339 static inline struct sym_hist *annotation__histogram(struct annotation *notes, int idx)
341 return annotated_source__histogram(notes->src, idx);