Home
last modified time | relevance | path

Searched refs:rq (Results 1 – 13 of 13) sorted by relevance

/tools/testing/selftests/bpf/progs/
A Dtest_ksyms_btf.c19 extern const struct rq runqueues __ksym; /* struct type global var. */
25 struct rq *rq; in handler() local
35 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, cpu); in handler()
36 if (rq) in handler()
37 out__rq_cpu = rq->cpu; in handler()
42 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, 0); in handler()
43 if (rq) /* should always be valid, but we can't spare the check. */ in handler()
44 out__cpu_0_rq_cpu = rq->cpu; in handler()
47 rq = (struct rq *)bpf_this_cpu_ptr(&runqueues); in handler()
48 out__this_rq_cpu = rq->cpu; in handler()
A Dtest_ksyms_btf_null_check.c8 extern const struct rq runqueues __ksym; /* struct type global var. */
14 struct rq *rq; in handler() local
19 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, cpu); in handler()
25 *(volatile int *)(&rq->cpu); in handler()
A Dtest_ksyms_weak.c21 extern const struct rq runqueues __ksym __weak; /* typed */
39 struct rq *rq; in pass_handler() local
42 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, 0); in pass_handler()
43 if (rq && bpf_ksym_exists(&runqueues)) in pass_handler()
44 out__existing_typed = rq->cpu; in pass_handler()
A Dtest_access_variable_array.c11 int BPF_PROG(fentry_fentry, int this_cpu, struct rq *this_rq, in BPF_PROG()
/tools/sched/
A Ddl_bw_dump.py29 rq = per_cpu(runqueues, cpu_id)
31 if rq.online == 0:
34 dl_rq = rq.dl
A Droot_domains_dump.py34 rq = per_cpu(runqueues, cpu_id)
36 root_domain = rq.rd
/tools/testing/selftests/rcutorture/bin/
A Dkvm-transform.sh103 rq = "";
111 rq = substr(arg, length($i), 1);
131 line = line rq;
/tools/perf/scripts/python/
A Dsched-migration.py271 rq = ts.rqs[cpu]
273 raw += "Last event : %s\n" % rq.event.__repr__()
276 raw += "Load = %d\n" % rq.load()
277 for t in rq.tasks:
283 rq = slice.rqs[cpu]
286 load_rate = rq.load() / float(slice.total_load)
296 top_color = rq.event.color()
/tools/perf/util/bpf_skel/
A Dlock_contention.bpf.c848 extern struct rq runqueues __ksym;
928 struct rq *rq = bpf_per_cpu_ptr(&runqueues, i); in BPF_PROG() local
930 if (rq == NULL) in BPF_PROG()
933 lock_addr = (__u64)(void *)rq + lock_off; in BPF_PROG()
/tools/perf/util/bpf_skel/vmlinux/
A Dvmlinux.h196 struct rq {}; struct
/tools/perf/Documentation/
A Dperf-lock.txt204 Note that it matches the substring so 'rq' would match both 'raw_spin_rq_lock'
A Dperf-probe.txt234 …) can be moved easily by modifying schedule(), but the same line matching 'rq=cpu_rq*' may still e…
/tools/sched_ext/include/scx/
A Dcommon.bpf.h93 struct rq *scx_bpf_cpu_rq(s32 cpu) __ksym;

Completed in 22 milliseconds