| /tools/sched_ext/include/scx/ |
| A D | compat.bpf.h | 42 #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 D | common.bpf.h | 53 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 D | stat_bpf_counters_cgrp.sh | 28 if [ -d /sys/fs/cgroup/system.slice ] && [ -d /sys/fs/cgroup/user.slice ]; then
|
| /tools/perf/scripts/python/ |
| A D | sched-migration.py | 234 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 D | bpftool-cgroup.rst | 141 | **# 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 D | select_cpu_vtime.bpf.c | 69 p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
|
| /tools/sched_ext/ |
| A D | scx_simple.bpf.c | 124 p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
|
| A D | scx_flatcg.bpf.c | 556 (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
|
| /tools/testing/selftests/bpf/progs/ |
| A D | dynptr_fail.c | 1369 __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 D | perf-diff.txt | 134 Select the second 10% time slice to diff: 138 Select from 0% to 10% time slice to diff:
|
| A D | perf-script.txt | 429 Select the second 10% time slice: 432 Select from 0% to 10% time slice:
|
| A D | perf-report.txt | 493 Select the second 10% time slice: 497 Select from 0% to 10% time slice:
|
| A D | perf-record.txt | 643 A possible use case is to, given an external event, slice the perf.data file
|
| /tools/power/pm-graph/ |
| A D | sleepgraph.py | 2605 def slice(self, dev): member in FTraceCallGraph 2692 cg = self.slice(dev)
|