Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 14 of 14) sorted by relevance

/tools/sched_ext/include/scx/
A Dcompat.bpf.h42 #define scx_bpf_dsq_insert(p, dsq_id, slice, enq_flags) \ argument
44 scx_bpf_dsq_insert((p), (dsq_id), (slice), (enq_flags)) : \
45 scx_bpf_dispatch___compat((p), (dsq_id), (slice), (enq_flags)))
47 #define scx_bpf_dsq_insert_vtime(p, dsq_id, slice, vtime, enq_flags) \ argument
57 #define __COMPAT_scx_bpf_dsq_move_set_slice(it__iter, slice) \ argument
59 scx_bpf_dsq_move_set_slice((it__iter), (slice)) : \
61 scx_bpf_dispatch_from_dsq_set_slice___compat((it__iter), (slice)) : \
85 #define scx_bpf_dispatch(p, dsq_id, slice, enq_flags) \ argument
88 #define scx_bpf_dispatch_vtime(p, dsq_id, slice, vtime, enq_flags) \ argument
96 #define scx_bpf_dispatch_from_dsq_set_slice(it__iter, slice) \ argument
[all …]
A Dcommon.bpf.h53 void scx_bpf_dsq_insert(struct task_struct *p, u64 dsq_id, u64 slice, u64 enq_flags) __ksym __weak;
54 void scx_bpf_dsq_insert_vtime(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, u64 enq_flag…
58 void scx_bpf_dsq_move_set_slice(struct bpf_iter_scx_dsq *it__iter, u64 slice) __ksym __weak;
/tools/perf/tests/shell/
A Dstat_bpf_counters_cgrp.sh28 if [ -d /sys/fs/cgroup/system.slice ] && [ -d /sys/fs/cgroup/user.slice ]; then
/tools/perf/scripts/python/
A Dsched-migration.py234 slice = TimeSlice(ts, TimeSlice(-1, None))
236 slice = self.data[-1].next(ts)
237 return slice
282 def update_rectangle_cpu(self, slice, cpu): argument
283 rq = slice.rqs[cpu]
285 if slice.total_load != 0:
286 load_rate = rq.load() / float(slice.total_load)
295 if cpu in slice.event_cpus:
298 self.root_win.paint_rectangle_zone(cpu, color, top_color, slice.start, slice.end)
/tools/bpf/bpftool/Documentation/
A Dbpftool-cgroup.rst141 | **# mkdir /sys/fs/cgroup/test.slice**
143 | **# bpftool cgroup attach /sys/fs/cgroup/test.slice/ device id 1 allow_multi**
145 **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
153 | **# bpftool cgroup detach /sys/fs/cgroup/test.slice/ device id 1**
154 | **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
/tools/testing/selftests/sched_ext/
A Dselect_cpu_vtime.bpf.c69 p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
/tools/sched_ext/
A Dscx_simple.bpf.c124 p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
A Dscx_flatcg.bpf.c556 (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
/tools/testing/selftests/bpf/progs/
A Ddynptr_fail.c1369 __u32 *slice; in invalid_data_slices() local
1374 slice = bpf_dynptr_data(&ptr, 0, sizeof(__u32)); in invalid_data_slices()
1375 if (!slice) in invalid_data_slices()
1381 *slice = 1; in invalid_data_slices()
/tools/perf/Documentation/
A Dperf-diff.txt134 Select the second 10% time slice to diff:
138 Select from 0% to 10% time slice to diff:
A Dperf-script.txt429 Select the second 10% time slice:
432 Select from 0% to 10% time slice:
A Dperf-report.txt493 Select the second 10% time slice:
497 Select from 0% to 10% time slice:
A Dperf-record.txt643 A possible use case is to, given an external event, slice the perf.data file
/tools/power/pm-graph/
A Dsleepgraph.py2605 def slice(self, dev): member in FTraceCallGraph
2692 cg = self.slice(dev)

Completed in 31 milliseconds