Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 10 of 10) sorted by relevance

/tools/lib/bpf/
Dxsk.h57 xsk_ring_cons__comp_addr(const struct xsk_ring_cons *comp, __u32 idx) in xsk_ring_cons__comp_addr() argument
59 const __u64 *addrs = (const __u64 *)comp->ring; in xsk_ring_cons__comp_addr()
61 return &addrs[idx & comp->mask]; in xsk_ring_cons__comp_addr()
219 struct xsk_ring_cons *comp,
224 struct xsk_ring_cons *comp,
229 struct xsk_ring_cons *comp,
244 struct xsk_ring_cons *comp,
Dxsk.c63 struct xsk_ring_cons *comp; member
218 struct xsk_ring_cons *comp) in xsk_create_umem_rings() argument
262 comp->mask = umem->config.comp_size - 1; in xsk_create_umem_rings()
263 comp->size = umem->config.comp_size; in xsk_create_umem_rings()
264 comp->producer = map + off.cr.producer; in xsk_create_umem_rings()
265 comp->consumer = map + off.cr.consumer; in xsk_create_umem_rings()
266 comp->flags = map + off.cr.flags; in xsk_create_umem_rings()
267 comp->ring = map + off.cr.desc; in xsk_create_umem_rings()
278 struct xsk_ring_cons *comp, in xsk_umem__create_v0_0_4() argument
285 if (!umem_area || !umem_ptr || !fill || !comp) in xsk_umem__create_v0_0_4()
[all …]
/tools/perf/tests/
Dkmod-path.c11 int comp, const char *name) in test() argument
21 path, alloc_name, m.kmod, m.comp, m.name); in test()
24 TEST_ASSERT_VAL("wrong comp", m.comp == comp); in test()
Dcode-reading.c443 static int comp(const void *a, const void *b) in comp() function
455 qsort(buf, ARRAY_SIZE(buf), sizeof(int), comp); in do_sort_something()
/tools/perf/tests/shell/
Drecord+zstd_comp_decomp.sh28 $perf_tool report -i $trace_file --stdio | head -n -3 > $trace_file.comp.output &&
30 diff $trace_file.comp.output $trace_file.decomp.output
/tools/perf/util/
Ddso.c289 if (dso->comp == COMP_ID__NONE) in decompress_kmodule()
305 if (!compressions[dso->comp].is_compressed(name)) in decompress_kmodule()
314 if (compressions[dso->comp].decompress(name, fd)) { in decompress_kmodule()
400 m->comp = is_supported_compression(ext + 1); in __kmod_path__parse()
401 if (m->comp > COMP_ID__NONE) in __kmod_path__parse()
432 if (m->kmod && m->comp) { in dso__set_module_info()
434 dso->comp = m->comp; in dso__set_module_info()
1270 dso->comp = COMP_ID__NONE; in dso__new_id()
Ddso.h187 int comp; member
283 int comp; member
Dmachine.c1358 if (m->comp && is_kmod_dso(map->dso)) { in maps__set_module_path()
1360 map->dso->comp = m->comp; in maps__set_module_path()
/tools/perf/
Dbuiltin-sched.c171 bool comp; member
1549 if (sched->map.comp) { in map_switch_event()
1611 int cpu = sched->map.comp ? sched->map.comp_cpus[i] : i; in map_switch_event()
1658 if (sched->map.comp && new_cpu) in map_switch_event()
3216 if (sched->map.comp) { in setup_map_cpus()
3464 OPT_BOOLEAN(0, "compact", &sched.map.comp, in cmd_sched()
/tools/testing/selftests/bpf/
Dtest_offload.py654 comp = len(lines) >= 2 and lines[1] == 'Error: ' + reference
655 fail(not comp, "Missing or incorrect netlink extack message")