Lines Matching full:notes

5  * copyright notes.
23 struct annotation *notes = symbol__annotation(sym); in symbol__annotate_init() local
24 pthread_mutex_init(&notes->lock, NULL); in symbol__annotate_init()
30 struct annotation *notes = symbol__annotation(sym); in symbol__alloc_hist() local
34 notes->src = zalloc(sizeof(*notes->src) + symbol_conf.nr_events * sizeof_sym_hist); in symbol__alloc_hist()
35 if (notes->src == NULL) in symbol__alloc_hist()
37 notes->src->sizeof_sym_hist = sizeof_sym_hist; in symbol__alloc_hist()
38 notes->src->nr_histograms = symbol_conf.nr_events; in symbol__alloc_hist()
39 INIT_LIST_HEAD(&notes->src->source); in symbol__alloc_hist()
45 struct annotation *notes = symbol__annotation(sym); in symbol__annotate_zero_histograms() local
47 pthread_mutex_lock(&notes->lock); in symbol__annotate_zero_histograms()
48 if (notes->src != NULL) in symbol__annotate_zero_histograms()
49 memset(notes->src->histograms, 0, in symbol__annotate_zero_histograms()
50 notes->src->nr_histograms * notes->src->sizeof_sym_hist); in symbol__annotate_zero_histograms()
51 pthread_mutex_unlock(&notes->lock); in symbol__annotate_zero_histograms()
58 struct annotation *notes; in symbol__inc_addr_samples() local
61 notes = symbol__annotation(sym); in symbol__inc_addr_samples()
62 if (notes->src == NULL) in symbol__inc_addr_samples()
71 h = annotation__histogram(notes, evidx); in symbol__inc_addr_samples()
127 struct annotation *notes = symbol__annotation(sym); in objdump_line__print() local
128 struct source_line *src_line = notes->src->lines; in objdump_line__print()
129 struct sym_hist *h = annotation__histogram(notes, evidx); in objdump_line__print()
133 next = objdump__get_next_ip_line(&notes->src->source, oline); in objdump_line__print()
157 list_for_each_entry_from(queue, &notes->src->source, node) { in objdump_line__print()
202 struct annotation *notes = symbol__annotation(sym); in symbol__parse_objdump_line() local
256 objdump__add_line(&notes->src->source, objdump_line); in symbol__parse_objdump_line()
381 struct annotation *notes = symbol__annotation(sym); in symbol__free_source_line() local
382 struct source_line *src_line = notes->src->lines; in symbol__free_source_line()
389 notes->src->lines = NULL; in symbol__free_source_line()
401 struct annotation *notes = symbol__annotation(sym); in symbol__get_source_line() local
402 struct sym_hist *h = annotation__histogram(notes, evidx); in symbol__get_source_line()
407 src_line = notes->src->lines = calloc(len, sizeof(struct source_line)); in symbol__get_source_line()
408 if (!notes->src->lines) in symbol__get_source_line()
477 struct annotation *notes = symbol__annotation(sym); in symbol__annotate_hits() local
478 struct sym_hist *h = annotation__histogram(notes, evidx); in symbol__annotate_hits()
494 struct annotation *notes = symbol__annotation(sym); in symbol__annotate_printf() local
513 list_for_each_entry(pos, &notes->src->source, node) { in symbol__annotate_printf()
554 struct annotation *notes = symbol__annotation(sym); in symbol__annotate_zero_histogram() local
555 struct sym_hist *h = annotation__histogram(notes, evidx); in symbol__annotate_zero_histogram()
557 memset(h, 0, notes->src->sizeof_sym_hist); in symbol__annotate_zero_histogram()
562 struct annotation *notes = symbol__annotation(sym); in symbol__annotate_decay_histogram() local
563 struct sym_hist *h = annotation__histogram(notes, evidx); in symbol__annotate_decay_histogram()
569 list_for_each_entry(pos, &notes->src->source, node) { in symbol__annotate_decay_histogram()