Home
last modified time | relevance | path

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

123

/tools/perf/util/
A Dthread_map.c38 int items; in thread_map__new_by_pid() local
44 if (items <= 0) in thread_map__new_by_pid()
49 for (i = 0; i < items; i++) in thread_map__new_by_pid()
51 threads->nr = items; in thread_map__new_by_pid()
55 for (i=0; i<items; i++) in thread_map__new_by_pid()
103 if (items <= 0) { in thread_map__new_all_cpus()
131 threads->nr += items; in thread_map__new_all_cpus()
144 for (i = 0; i < items; i++) in thread_map__new_all_cpus()
163 int items, total_tasks = 0; in thread_map__new_by_pid_str() local
187 if (items <= 0) in thread_map__new_by_pid_str()
[all …]
A Dconfig.h17 struct list_head items; member
78 perf_config_items__for_each_entry(&section->items, item)
A Dintel-pt.c2213 const u64 *xmm = items->xmm; in intel_pt_add_xmm()
2263 u32 mask = items->mask[i]; in intel_pt_add_lbrs()
2418 const struct intel_pt_blk_items *items = &ptq->state->items; in intel_pt_do_synth_pebs_sample() local
2440 if (items->has_ip) in intel_pt_do_synth_pebs_sample()
2441 sample.ip = items->ip; in intel_pt_do_synth_pebs_sample()
2442 else if (items->has_rip) in intel_pt_do_synth_pebs_sample()
2443 sample.ip = items->rip; in intel_pt_do_synth_pebs_sample()
2456 if (items->has_timestamp) in intel_pt_do_synth_pebs_sample()
2550 u64 ax = items->has_rax ? items->rax : 0; in intel_pt_do_synth_pebs_sample()
2577 const struct intel_pt_blk_items *items = &ptq->state->items; in intel_pt_synth_pebs_sample() local
[all …]
A Dhwmon_pmu.c118 DECLARE_BITMAP(items, HWMON_ITEM__MAX);
283 __set_bit(item, alarm ? value->alarm_items : value->items); in hwmon_pmu__read_events()
329 if (!test_bit(HWMON_ITEM_INPUT, value->items)) { in hwmon_pmu__read_events()
412 const unsigned long *items, bool is_alarm) in hwmon_pmu__describe_items() argument
422 for_each_set_bit(bit, items, HWMON_ITEM__MAX) { in hwmon_pmu__describe_items()
530 key, value->items, /*is_alarm=*/false); in hwmon_pmu__for_each_event()
/tools/perf/scripts/perl/Perf-Trace-Util/
A DContext.c38 if (items != 1) in XS()
61 if (items != 1) in XS()
84 if (items != 1) in XS()
112 PERL_UNUSED_VAR(items); /* -W */ in XS()
/tools/perf/tests/shell/lib/
A Dattr.py201 if items[0] == "AT_HWCAP":
202 value = int(items[-1], 16)
205 value = int(items[-1], 0)
207 value = items[-1]
208 return (items[0], value)
269 parser_items = parser_event.items(section);
317 for exp_name, exp_event in expect.items():
321 for res_name, res_event in result.items():
346 for exp_name, exp_event in expect.items():
363 for name, event in events.items():
[all …]
/tools/testing/radix-tree/
A 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()
A Dtest.c120 struct item *items[chunk]; in item_gang_check_present() local
131 nfound = radix_tree_gang_lookup(root, (void **)items, in item_gang_check_present()
135 assert(items[i]->index == start + into + i); in item_gang_check_present()
146 struct item *items[chunk]; in item_full_scan() local
154 while ((nfound = radix_tree_gang_lookup(root, (void **)items, into, in item_full_scan()
158 assert(items[i]->index == this_index); in item_full_scan()
167 nfound = radix_tree_gang_lookup(root, (void **)items, in item_full_scan()
/tools/cgroup/
A Dmemcg_shrinker.py31 items = line.split(' ')
32 ino = int(items[0])
34 shrinkers.append((int(items[1]), shrinker, ino))
/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/
A Dfixed_length_array.j27 if (xdrgen_encode_{{ type }}(xdr, &value->items[i]) < 0)
9 if (xdrgen_encode_{{ type }}(xdr, value->items[i]) < 0)
/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/
A Dfixed_length_array.j27 if (xdrgen_encode_{{ type }}(xdr, &value->items[i]) < 0)
9 if (xdrgen_encode_{{ type }}(xdr, value->items[i]) < 0)
/tools/testing/kunit/
A Dkunit_config.py46 for name, value in self._entries.items():
53 for name, value in self._entries.items():
65 for name, value in self._entries.items():
73 for name, value in other._entries.items():
/tools/net/sunrpc/xdrgen/templates/C/typedef/decoder/
A Dfixed_length_array.j218 if (xdrgen_decode_{{ type }}(xdr, ptr->items[i]) < 0)
20 if (xdrgen_decode_{{ type }}(xdr, &ptr->items[i]) < 0)
/tools/net/sunrpc/xdrgen/templates/C/typedef/encoder/
A Dfixed_length_array.j218 if (xdrgen_encode_{{ type }}(xdr, &value->items[i]) < 0)
20 if (xdrgen_encode_{{ type }}(xdr, value->items[i]) < 0)
/tools/testing/selftests/tc-testing/
A Dtdc_helper.py57 def print_sll(items): argument
58 print("\n".join(str(s) for s in items))
/tools/net/sunrpc/xdrgen/templates/C/pointer/decoder/
A Dfixed_length_array.j26 if (xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }}.items[i]) < 0)
/tools/net/sunrpc/xdrgen/templates/C/struct/decoder/
A Dfixed_length_array.j26 if (xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }}.items[i]) < 0)
/tools/net/sunrpc/xdrgen/templates/C/union/decoder/
A Dvariable_length_array.j212 if (xdrgen_decode_{{ type }}(xdr, &ptr->{{ name }}.items[i]) < 0)
/tools/perf/scripts/python/
A Dintel-pt-events.py110 print(' '.join(['%s=%s'%(k,str(v))for k,v in sorted(event_fields_dict.items())]))
129 items = glb_stash_dict[cpu]
131 while len(items) and countdown:
132 sys.stdout.write(items[0])
133 del items[0]
135 if not items:
A Dsyscall-counts.py63 for id, val in sorted(syscalls.items(),
A Dsctop.py81 for id, val in sorted(syscalls.items(),
A Dsyscall-counts-by-pid.py73 for id, val in sorted(syscalls[comm][pid].items(),
/tools/net/ynl/pyynl/
A Dynl_gen_c.py1294 for op_name, op in self.msgs.items():
1513 for op_name, op in self.ops.items():
2003 for op_name, op in family.msgs.items():
2765 for _, attr in attr_set.items():
2794 for _, attr in attr_set.items():
2879 for op_name, op in family.ops.items():
2902 for op_name, op in family.ops.items():
2932 for op_name, op in family.ops.items():
3232 for _, attr in attr_set.items():
3239 if attr_set.items():
[all …]
/tools/testing/selftests/hid/tests/
A Dbase_gamepad.py106 for i, b in buttons.items():
139 for i, b in self._buttons.items():
/tools/perf/
A Dbuiltin-config.c60 perf_config_items__for_each_entry(&section->items, item) { in set_config()
85 perf_config_items__for_each_entry(&section->items, item) { in show_spec_config()

Completed in 804 milliseconds

123