Home
last modified time | relevance | path

Searched refs:items (Results 1 – 17 of 17) sorted by relevance

/tools/perf/util/
Dthread_map.c58 int items; in thread_map__new_by_pid() local
63 items = scandir(name, &namelist, filter, NULL); in thread_map__new_by_pid()
64 if (items <= 0) in thread_map__new_by_pid()
67 threads = thread_map__alloc(items); in thread_map__new_by_pid()
69 for (i = 0; i < items; i++) in thread_map__new_by_pid()
71 threads->nr = items; in thread_map__new_by_pid()
75 for (i=0; i<items; i++) in thread_map__new_by_pid()
98 int max_threads = 32, items, i; in thread_map__new_by_uid() local
131 items = scandir(path, &namelist, filter, NULL); in thread_map__new_by_uid()
132 if (items <= 0) in thread_map__new_by_uid()
[all …]
Dconfig.h17 struct list_head items; member
69 perf_config_items__for_each_entry(&section->items, item)
Dconfig.c519 list_for_each_entry(item, &section->items, node) in find_config_item()
534 INIT_LIST_HEAD(&section->items); in add_section()
561 list_add_tail(&item->node, &section->items); in add_config_item()
769 list_for_each_entry_safe(item, tmp, &section->items, node) { in perf_config_section__purge()
Dmachine.c988 int i, items = 0; in machines__create_guest_kernel_maps() local
1000 items = scandir(symbol_conf.guestmount, &namelist, NULL, NULL); in machines__create_guest_kernel_maps()
1001 if (items <= 0) in machines__create_guest_kernel_maps()
1003 for (i = 0; i < items; i++) { in machines__create_guest_kernel_maps()
/tools/testing/radix-tree/
Dtest.c107 struct item *items[chunk]; in item_gang_check_present() local
118 nfound = radix_tree_gang_lookup(root, (void **)items, in item_gang_check_present()
122 assert(items[i]->index == start + into + i); in item_gang_check_present()
133 struct item *items[chunk]; in item_full_scan() local
141 while ((nfound = radix_tree_gang_lookup(root, (void **)items, into, in item_full_scan()
145 assert(items[i]->index == this_index); in item_full_scan()
154 nfound = radix_tree_gang_lookup(root, (void **)items, in item_full_scan()
275 struct item *items[32]; in item_kill_tree() local
283 while ((nfound = radix_tree_gang_lookup(root, (void **)items, 0, 32))) { in item_kill_tree()
289 ret = radix_tree_delete(root, items[i]->index); in item_kill_tree()
[all …]
Dtag_check.c134 struct item *items[BATCH]; in gang_check() local
139 while ((nr_found = radix_tree_gang_lookup_tag(tree, (void **)items, in gang_check()
144 struct item *item = items[i]; in gang_check()
153 index = items[nr_found - 1]->index + 1; in gang_check()
311 struct item *items[BATCH]; in single_check() local
318 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 0); in single_check()
320 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 1, BATCH, 0); in single_check()
326 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 1); in single_check()
329 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 0); in single_check()
/tools/perf/scripts/perl/Perf-Trace-Util/
DContext.c54 if (items != 1) in XS()
77 if (items != 1) in XS()
100 if (items != 1) in XS()
128 PERL_UNUSED_VAR(items); /* -W */ in XS()
/tools/perf/tests/
Dattr.py204 parser_items = parser_event.items(section);
212 base_items = parser_base.items('event')
239 for exp_name, exp_event in expect.items():
243 for res_name, res_event in result.items():
268 for exp_name, exp_event in expect.items():
285 for name, event in events.items():
290 for iname, ievent in events.items():
/tools/testing/selftests/tc-testing/
Dtdc_helper.py54 def print_sll(items): argument
55 print("\n".join(str(s) for s in items))
/tools/perf/
Dbuiltin-config.c62 perf_config_items__for_each_entry(&section->items, item) { in set_config()
87 perf_config_items__for_each_entry(&section->items, item) { in show_spec_config()
/tools/perf/scripts/python/
Devent_analyzing_sample.py190 print ' '.join(['%s=%s'%(k,str(v))for k,v in sorted(event_fields_dict.items())])
Dintel-pt-events.py31 print ' '.join(['%s=%s'%(k,str(v))for k,v in sorted(event_fields_dict.items())])
/tools/perf/Documentation/
Dperf-diff.txt89 Show only items with match in baseline.
Dperf-config.txt127 If you want to add or modify several config items, you can do like
Dperf-script-python.txt153 print ' '.join(['%s=%s'%(k,str(v))for k,v in sorted(event_fields_dict.items())])
/tools/include/uapi/sound/
Dasound.h910 unsigned int items; /* R: number of items */ member
/tools/usb/usbip/
DCOPYING324 mouse-clicks or menu items--whatever suits your program.