Home
last modified time | relevance | path

Searched refs:nd (Results 1 – 25 of 38) sorted by relevance

12

/tools/perf/util/
A Dprint-events.c247 struct str_node *nd; in print_symbol_events() local
284 nd->s, in print_symbol_events()
299 struct rb_node nd; member
332 return &me->nd; in mep_new()
336 struct rb_node *nd) in mep_delete() argument
338 struct mep *me = container_of(nd, struct mep, nd); in mep_delete()
347 struct rb_node *nd; in mep_lookup() local
353 if (nd) { in mep_lookup()
355 return container_of(nd, struct mep, nd); in mep_lookup()
359 if (nd) in mep_lookup()
[all …]
A Dbuild-id.c361 struct rb_node *nd; in perf_session__write_buildid_table() local
367 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__write_buildid_table()
368 nd = rb_next(nd)) { in perf_session__write_buildid_table()
402 struct str_node *nd, *nd2; in build_id_cache__list_all() local
498 cand = nd; in build_id_cache__complement()
913 struct rb_node *nd; in machines__for_each_dso() local
915 for (nd = rb_first_cached(&machines->guests); nd; in machines__for_each_dso()
916 nd = rb_next(nd)) { in machines__for_each_dso()
948 struct rb_node *nd; in perf_session__read_build_ids() local
951 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__read_build_ids()
[all …]
A Dmetricgroup.c40 struct rb_node *nd; in metricgroup__lookup() local
51 if (nd) in metricgroup__lookup()
52 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
56 if (nd) in metricgroup__lookup()
57 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
66 nd); in metric_event_cmp()
87 return &me->nd; in metric_event_new()
124 struct list_head nd; member
1167 list_del_init(&m->nd); in metricgroup__free_metrics()
1590 struct rb_node *nd; in metricgroup__copy_metric_events() local
[all …]
A Dsrccode.c27 struct list_head nd; member
79 list_del_init(&sf->nd); in free_srcfile()
100 list_move(&h->nd, &srcfile_list); in find_srcfile()
109 h = list_entry(srcfile_list.prev, struct srcfile, nd); in find_srcfile()
140 list_add(&h->nd, &srcfile_list); in find_srcfile()
A Dintel-tpebs.c42 struct list_head nd; member
79 list_for_each_entry(t, &tpebs_results, nd) in evsel__tpebs_start_perf_record()
105 list_for_each_entry(t, &tpebs_results, nd) { in evsel__tpebs_start_perf_record()
118 list_for_each_entry(t, &tpebs_results, nd) in evsel__tpebs_start_perf_record()
424 list_for_each_entry(t, &tpebs_results, nd) { in tpebs_retire_lat__find()
441 list_for_each_entry(t, &tpebs_results, nd) { in tpebs_retire_lat__find()
469 list_add_tail(&tpebs_event->nd, &tpebs_results); in evsel__tpebs_prepare()
552 list_del_init(&t->nd); in evsel__tpebs_open()
582 if (t && &t->nd == tpebs_results.next) { in evsel__tpebs_read()
654 list_del_init(&t->nd); in evsel__tpebs_close()
A Dsymbol.h84 #define symbols__for_each_entry(symbols, pos, nd) \ argument
85 for (nd = rb_first_cached(symbols); \
86 nd && (pos = rb_entry(nd, struct symbol, rb_node)); \
87 nd = rb_next(nd))
A Dmetricgroup.h23 struct rb_node nd; member
46 struct list_head nd; member
A Dhist.c2342 for (nd = rb_first_cached(&hists->entries); nd; nd = rb_next(nd)) { in hists__filter_by_type()
2381 while (nd) { in resort_filtered_entry()
2384 nd = rb_next(nd); in resort_filtered_entry()
2404 while (nd) { in hists__filter_hierarchy()
2448 while (nd) { in hists__filter_hierarchy()
2451 nd = rb_next(nd); in hists__filter_hierarchy()
2686 for (nd = rb_first_cached(leader_root); nd; nd = rb_next(nd)) { in hists__match_hierarchy()
2717 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__match()
2734 for (nd = rb_first_cached(other_root); nd; nd = rb_next(nd)) { in hists__link_hierarchy()
2793 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__link()
[all …]
A Dsymbol.c211 struct rb_node *nd; in symbols__fixup_duplicate() local
217 nd = rb_first_cached(symbols); in symbols__fixup_duplicate()
219 while (nd) { in symbols__fixup_duplicate()
222 nd = rb_next(&curr->rb_node); in symbols__fixup_duplicate()
223 if (!nd) in symbols__fixup_duplicate()
239 nd = rb_next(&curr->rb_node); in symbols__fixup_duplicate()
257 for (nd = rb_next(prevnd); nd; nd = rb_next(nd)) { in symbols__fixup_end()
464 struct rb_node *nd; in symbols__sort_by_name() local
468 for (nd = rb_first_cached(source); nd; nd = rb_next(nd)) in symbols__sort_by_name()
475 for (nd = rb_first_cached(source); nd; nd = rb_next(nd)) { in symbols__sort_by_name()
[all …]
A Dmachine.c281 struct rb_node *nd; in machines__set_comm_exec() local
285 for (nd = rb_first_cached(&machines->guests); nd; nd = rb_next(nd)) { in machines__set_comm_exec()
451 struct rb_node *nd; in machines__process_guests() local
453 for (nd = rb_first_cached(&machines->guests); nd; nd = rb_next(nd)) { in machines__process_guests()
454 struct machine *pos = rb_entry(nd, struct machine, rb_node); in machines__process_guests()
904 struct rb_node *nd; in machines__fprintf_dsos() local
907 for (nd = rb_first_cached(&machines->guests); nd; nd = rb_next(nd)) { in machines__fprintf_dsos()
924 struct rb_node *nd; in machines__fprintf_dsos_buildid() local
927 for (nd = rb_first_cached(&machines->guests); nd; nd = rb_next(nd)) { in machines__fprintf_dsos_buildid()
3032 struct rb_node *nd; in machines__for_each_thread() local
[all …]
A Dmap.c319 struct rb_node *nd = rb_first_cached(symbols); in map__fixup_start() local
321 if (nd != NULL) { in map__fixup_start()
322 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); in map__fixup_start()
332 struct rb_node *nd = rb_last(&symbols->rb_root); in map__fixup_end() local
334 if (nd != NULL) { in map__fixup_end()
335 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); in map__fixup_end()
A Dutil.c241 struct str_node *nd; in rm_rf_kcore_dir() local
249 strlist__for_each_entry(nd, kcore_dirs) { in rm_rf_kcore_dir()
250 ret = rm_rf_a_kcore_dir(path, nd->s); in rm_rf_kcore_dir()
/tools/perf/ui/browsers/
A Dmap.c25 static void map_browser__write(struct ui_browser *browser, void *nd, int row) in map_browser__write() argument
27 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); in map_browser__write()
118 struct rb_node *nd; in map__browse() local
122 for (nd = rb_first(mb.b.entries); nd; nd = rb_next(nd)) { in map__browse()
123 struct symbol *pos = rb_entry(nd, struct symbol, rb_node); in map__browse()
A Dhists.c70 nd = rb_hierarchy_next(nd)) { in hist_browser__get_folding()
182 for (nd = rb_first(&node->rb_root); nd; nd = rb_next(nd)) { in callchain_node__count_rows_rb_tree()
265 for (nd = rb_first(chain); nd; nd = rb_next(nd)) { in callchain__count_rows()
333 for (nd = rb_first(&node->rb_root); nd; nd = rb_next(nd)) { in callchain_node__init_have_children_rb_tree()
373 for (nd = rb_first(root); nd; nd = rb_next(nd)) { in callchain__init_have_children()
516 for (nd = rb_first(&node->rb_root); nd; nd = rb_next(nd)) { in callchain_node__set_folding_rb_tree()
557 for (nd = rb_first(chain); nd; nd = rb_next(nd)) { in callchain__set_folding()
573 for (nd = rb_first_cached(&he->hroot_out); nd; nd = rb_next(nd)) { in hierarchy_set_folding()
1869 for (nd = browser->top; nd; nd = rb_hierarchy_next(nd)) { in hist_browser__refresh()
1923 nd = rb_next(nd); in hists__filter_entries()
[all …]
A Dannotate.c293 struct rb_node *nd) in annotate_browser__set_rb_top() argument
301 browser->curr_hot = nd; in annotate_browser__set_rb_top()
836 if (nd != NULL && RB_EMPTY_NODE(nd)) in annotate_browser__run()
837 nd = NULL; in annotate_browser__run()
852 if (nd != NULL) { in annotate_browser__run()
853 nd = rb_prev(nd); in annotate_browser__run()
854 if (nd == NULL) in annotate_browser__run()
860 if (nd != NULL) { in annotate_browser__run()
861 nd = rb_next(nd); in annotate_browser__run()
862 if (nd == NULL) in annotate_browser__run()
[all …]
/tools/perf/ui/gtk/
A Dhists.c100 struct rb_node *nd; in perf_gtk__add_callchain_flat() local
103 for (nd = rb_first(root); nd; nd = rb_next(nd)) { in perf_gtk__add_callchain_flat()
109 node = rb_entry(nd, struct callchain_node, rb_node); in perf_gtk__add_callchain_flat()
163 struct rb_node *nd; in perf_gtk__add_callchain_folded() local
165 for (nd = rb_first(root); nd; nd = rb_next(nd)) { in perf_gtk__add_callchain_folded()
173 node = rb_entry(nd, struct callchain_node, rb_node); in perf_gtk__add_callchain_folded()
223 struct rb_node *nd; in perf_gtk__add_callchain_graph() local
226 for (nd = rb_first(root); nd; nd = rb_next(nd)) { in perf_gtk__add_callchain_graph()
233 node = rb_entry(nd, struct callchain_node, rb_node); in perf_gtk__add_callchain_graph()
300 struct rb_node *nd; in perf_gtk__show_hists() local
[all …]
/tools/perf/tests/
A Dsymbols.c118 struct rb_node *nd; in test_dso() local
125 for (nd = rb_first_cached(dso__symbols(dso)); nd; nd = rb_next(nd)) { in test_dso()
126 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); in test_dso()
A Dvmlinux-kallsyms.c193 struct rb_node *nd; in test__vmlinux_matches_kallsyms() local
289 map__for_each_symbol(args.vmlinux_map, sym, nd) { in test__vmlinux_matches_kallsyms()
292 sym = rb_entry(nd, struct symbol, rb_node); in test__vmlinux_matches_kallsyms()
/tools/perf/
A Dbuiltin-annotate.c420 while (nd) { in hists__find_annotations()
446 nd = rb_prev(nd); in hists__find_annotations()
448 nd = rb_next(nd); in hists__find_annotations()
486 next = rb_next(nd); in hists__find_annotations()
490 next = rb_prev(nd); in hists__find_annotations()
497 nd = next; in hists__find_annotations()
520 nd = rb_next(nd); in hists__find_annotations()
531 next = rb_next(nd); in hists__find_annotations()
535 next = rb_prev(nd); in hists__find_annotations()
542 nd = next; in hists__find_annotations()
[all …]
A Dbuiltin-kvm.c518 struct rb_node *nd = rb_first_cached(&hb->hists->entries); in kvm_browser__update_nr_entries() local
521 for (; nd; nd = rb_next(nd)) { in kvm_browser__update_nr_entries()
522 struct hist_entry *he = rb_entry(nd, struct hist_entry, in kvm_browser__update_nr_entries()
642 struct rb_node *nd; in clear_events_cache_stats() local
651 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in clear_events_cache_stats()
654 he = rb_entry(nd, struct hist_entry, rb_node_in); in clear_events_cache_stats()
1055 struct rb_node *nd; in print_result() local
1074 for (nd = rb_first_cached(&kvm_hists.hists.entries); nd; nd = rb_next(nd)) { in print_result()
1078 he = rb_entry(nd, struct hist_entry, rb_node); in print_result()
A Dbuiltin-buildid-cache.c337 struct str_node *nd; in build_id_cache__show_all() local
345 strlist__for_each_entry(nd, bidlist) { in build_id_cache__show_all()
346 buf = build_id_cache__origname(nd->s); in build_id_cache__show_all()
347 fprintf(stdout, "%s %s\n", nd->s, buf); in build_id_cache__show_all()
/tools/perf/ui/
A Dbrowser.c141 struct rb_node *nd; in ui_browser__rb_tree_seek() local
145 nd = rb_first(root); in ui_browser__rb_tree_seek()
148 nd = browser->top; in ui_browser__rb_tree_seek()
151 nd = rb_last(root); in ui_browser__rb_tree_seek()
159 nd = rb_next(nd); in ui_browser__rb_tree_seek()
162 nd = rb_prev(nd); in ui_browser__rb_tree_seek()
165 browser->top = nd; in ui_browser__rb_tree_seek()
170 struct rb_node *nd; in ui_browser__rb_tree_refresh() local
176 nd = browser->top; in ui_browser__rb_tree_refresh()
178 while (nd != NULL) { in ui_browser__rb_tree_refresh()
[all …]
/tools/testing/selftests/net/packetdrill/
A Dtcp_slow_start_slow-start-after-win-update.pkt38 // 2nd win0 probe
/tools/perf/ui/stdio/
A Dhist.c838 struct rb_node *nd; in hists__fprintf() local
869 for (nd = rb_first_cached(&hists->entries); nd; in hists__fprintf()
870 nd = __rb_hierarchy_next(nd, HMD_FORCE_CHILD)) { in hists__fprintf()
871 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__fprintf()
/tools/verification/rvgen/rvgen/
A Dltl2ba.py85 for nd in node_set:
86 if nd.old == self.old and nd.next == self.next:
87 nd.incoming |= self.incoming

Completed in 69 milliseconds

12