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,
Dxsk.c49 struct xsk_ring_cons *comp; member
205 struct xsk_ring_cons *comp, in xsk_umem__create_v0_0_4() argument
214 if (!umem_area || !umem_ptr || !fill || !comp) in xsk_umem__create_v0_0_4()
290 umem->comp = comp; in xsk_umem__create_v0_0_4()
291 comp->mask = umem->config.comp_size - 1; in xsk_umem__create_v0_0_4()
292 comp->size = umem->config.comp_size; in xsk_umem__create_v0_0_4()
293 comp->producer = map + off.cr.producer; in xsk_umem__create_v0_0_4()
294 comp->consumer = map + off.cr.consumer; in xsk_umem__create_v0_0_4()
295 comp->flags = map + off.cr.flags; in xsk_umem__create_v0_0_4()
296 comp->ring = map + off.cr.desc; 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.c442 static int comp(const void *a, const void *b) in comp() function
454 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()
1208 dso->comp = COMP_ID__NONE; in dso__new()
Ddso.h175 int comp; member
268 int comp; member
Dmachine.c1284 if (m->comp && is_kmod_dso(map->dso)) { in map_groups__set_module_path()
1286 map->dso->comp = m->comp; in map_groups__set_module_path()
/tools/perf/
Dbuiltin-sched.c167 bool comp; member
1543 if (sched->map.comp) { in map_switch_event()
1605 int cpu = sched->map.comp ? sched->map.comp_cpus[i] : i; in map_switch_event()
1652 if (sched->map.comp && new_cpu) in map_switch_event()
3183 if (sched->map.comp) { in setup_map_cpus()
3395 OPT_BOOLEAN(0, "compact", &sched.map.comp, in cmd_sched()
/tools/testing/selftests/bpf/
Dtest_offload.py645 comp = len(lines) >= 2 and lines[1] == 'Error: ' + reference
646 fail(not comp, "Missing or incorrect netlink extack message")