Searched refs:syme (Results 1 – 3 of 3) sorted by relevance
/external/linux-tools-perf/util/ |
D | top.c | 37 static void perf_top__remove_active_sym(struct perf_top *top, struct sym_entry *syme) in perf_top__remove_active_sym() argument 40 list_del_init(&syme->node); in perf_top__remove_active_sym() 172 struct sym_entry *syme, *n; in perf_top__decay_samples() local 178 syme = list_entry(top->active_symbols.next, struct sym_entry, node); in perf_top__decay_samples() 182 list_for_each_entry_safe_from(syme, n, &top->active_symbols, node) { in perf_top__decay_samples() 183 syme->snap_count = syme->count[snap]; in perf_top__decay_samples() 184 if (syme->snap_count != 0) { in perf_top__decay_samples() 187 syme->map->dso->kernel == DSO_TYPE_USER) || in perf_top__decay_samples() 189 syme->map->dso->kernel == DSO_TYPE_KERNEL)) { in perf_top__decay_samples() 190 perf_top__remove_active_sym(top, syme); in perf_top__decay_samples() [all …]
|
/external/linux-tools-perf/ |
D | builtin-top.c | 157 static int parse_source(struct sym_entry *syme) in parse_source() argument 164 if (!syme) in parse_source() 167 sym = sym_entry__symbol(syme); in parse_source() 168 map = syme->map; in parse_source() 198 err = symbol__annotate(sym, syme->map, 0); in parse_source() 200 err = symbol__annotate(sym, syme->map, 0, false); in parse_source() 205 top.sym_filter_entry = syme; in parse_source() 212 static void __zero_source_counters(struct sym_entry *syme) in __zero_source_counters() argument 214 struct symbol *sym = sym_entry__symbol(syme); in __zero_source_counters() 218 static void record_precise_ip(struct sym_entry *syme, int counter, u64 ip) in record_precise_ip() argument [all …]
|
/external/linux-tools-perf/util/ui/browsers/ |
D | top.c | 33 struct sym_entry *syme = rb_entry(entry, struct sym_entry, rb_node); in perf_top_browser__write() local 35 struct symbol *symbol = sym_entry__symbol(syme); in perf_top_browser__write() 40 pcnt = 100.0 - (100.0 * ((top_browser->sum_ksamples - syme->snap_count) / in perf_top_browser__write() 45 slsmg_printf("%20.2f ", syme->weight); in perf_top_browser__write() 48 slsmg_printf("%9.1f %10ld ", syme->weight, syme->snap_count); in perf_top_browser__write() 63 slsmg_write_nstring(width >= syme->map->dso->long_name_len ? in perf_top_browser__write() 64 syme->map->dso->long_name : in perf_top_browser__write() 65 syme->map->dso->short_name, width); in perf_top_browser__write() 68 top_browser->selection = syme; in perf_top_browser__write() 120 struct sym_entry *syme = browser->selection; in perf_top_browser__annotate() local [all …]
|