Searched refs:sched (Results 26 - 50 of 3444) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
H A Dtrigger-multi-actions-accept.tc4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist
13 TRIGGER1=events/sched/sched_wakeup/trigger
14 TRIGGER2=events/sched/sched_switch/trigger
18 echo 'hist:keys=next_pid:onmatch(sched.sched_wakeup).wakeup_latency(sched.sched_switch.$wakeup_lat,next_pid) if next_comm=="cyclictest"' >> $TRIGGER2
19 echo 'hist:keys=next_pid:onmatch(sched.sched_wakeup).wakeup_latency(sched.sched_switch.$wakeup_lat,prev_pid) if next_comm=="cyclictest"' >> $TRIGGER2
H A Dtrigger-onchange-action-hist.tc13 echo 'hist:keys=comm:newprio=prio:onchange($newprio).save(comm,prio) if comm=="ping"' >> events/sched/sched_waking/trigger
18 if ! grep -q "changed:" events/sched/sched_waking/hist; then
H A Dtrigger-synthetic-event-stack-legacy.tc4 # requires: set_event synthetic_events events/sched/sched_process_exec/hist "long[] stack' >> synthetic_events":README
15 echo 'hist:keys=next_pid:ts=common_timestamp.usecs,st=stacktrace if prev_state == 1||prev_state == 2' >> events/sched/sched_switch/trigger
16 echo 'hist:keys=prev_pid:delta=common_timestamp.usecs-$ts,s=$st:onmax($delta).trace(wake_lat,prev_pid,$delta,$s)' >> events/sched/sched_switch/trigger
20 if ! grep -q "=>.*sched" trace; then
H A Dtrigger-synthetic-event-stack.tc4 # requires: set_event synthetic_events events/sched/sched_process_exec/hist "can be any field, or the special string 'common_stacktrace'":README
14 echo 'hist:keys=next_pid:ts=common_timestamp.usecs,st=common_stacktrace if prev_state == 1||prev_state == 2' >> events/sched/sched_switch/trigger
15 echo 'hist:keys=prev_pid:delta=common_timestamp.usecs-$ts,s=$st:onmax($delta).trace(wake_lat,prev_pid,$delta,$s)' >> events/sched/sched_switch/trigger
19 if ! grep -q "=>.*sched" trace; then
H A Dtrigger-field-variable-support.tc4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist ping:program
14 echo 'hist:keys=comm:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger
15 echo 'hist:keys=next_comm:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).wakeup_latency($wakeup_lat,next_pid,sched.sched_waking.prio,next_comm) if next_comm=="ping"' > events/sched/sched_switch/trigger
23 if ! grep -q "synthetic_prio=prio" events/sched/sched_waking/hist; then
27 echo '!hist:keys=next_comm:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).wakeup_latency($wakeup_lat,next_pid,sched.sched_waking.prio,next_comm) if next_comm=="ping"' >> events/sched/sched_switch/trigger
29 if grep -q "synthetic_prio=prio" events/sched/sched_wakin
[all...]
H A Dtrigger-onmatch-onmax-action-hist.tc4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist ping:program
21 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_wakeup/trigger
22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).wakeup_latency($wakeup_lat,next_pid,next_comm):onmax($wakeup_lat).save(next_comm,prev_pid,prev_prio,prev_comm) if next_comm=="ping"' >> events/sched/sched_switch/trigger
26 if [ ! grep -q "ping" events/synthetic/wakeup_latency/hist -o ! grep -q "max:" events/sched/sched_switch/hist]; then
H A Dtrigger-inter-event-combined-hist.tc4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist ping:program
20 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger
21 echo 'hist:keys=pid:waking_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).waking_latency($waking_lat,pid) if comm=="ping"' > events/sched/sched_wakeup/trigger
25 echo 'hist:keys=pid:ts1=common_timestamp.usecs if comm=="ping"' >> events/sched/sched_wakeup/trigger
26 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts1:onmatch(sched.sched_wakeup).wakeup_latency($wakeup_lat,next_pid) if next_comm=="ping"' > events/sched/sched_switch/trigger
H A Dtrigger-onmatch-action-hist.tc4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist ping:program
21 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_wakeup/trigger
22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).wakeup_latency($wakeup_lat,next_pid,next_comm) if next_comm=="ping"' > events/sched/sched_switch/trigger
H A Dtrigger-trace-action-hist.tc4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist "trace(<synthetic_event>":README ping:program
21 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_wakeup/trigger
22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).trace(wakeup_latency,$wakeup_lat,next_pid,next_comm) if next_comm=="ping"' > events/sched/sched_switch/trigger
H A Dtrigger-synthetic-event-dynstring.tc4 # requires: set_event synthetic_events events/sched/sched_process_exec/hist "' >> synthetic_events":README ping:program
21 echo 'hist:key=pid:filenamevar=filename:ts0=common_timestamp.usecs' > events/sched/sched_process_exec/trigger
22 echo 'hist:key=pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_process_exec).ping_test_latency($lat,$filenamevar) if comm == "ping"' > events/sched/sched_process_exit/trigger
/linux-master/drivers/gpu/drm/xe/compat-i915-headers/
H A Di915_config.h9 #include <linux/sched.h>
/linux-master/kernel/sched/
H A Dbuild_policy.c16 #include <linux/sched/clock.h>
17 #include <linux/sched/cputime.h>
18 #include <linux/sched/hotplug.h>
19 #include <linux/sched/posix-timers.h>
20 #include <linux/sched/rt.h>
32 #include <uapi/linux/sched/types.h>
34 #include "sched.h"
H A Dbuild_utility.c12 #include <linux/sched/clock.h>
13 #include <linux/sched/cputime.h>
14 #include <linux/sched/debug.h>
15 #include <linux/sched/isolation.h>
16 #include <linux/sched/loadavg.h>
17 #include <linux/sched/nohz.h>
18 #include <linux/sched/mm.h>
19 #include <linux/sched/rseq_api.h>
20 #include <linux/sched/task_stack.h>
48 #include <uapi/linux/sched/type
[all...]
/linux-master/arch/arc/include/asm/
H A Dstacktrace.h10 #include <linux/sched.h>
/linux-master/arch/loongarch/include/asm/
H A Dentry-common.h5 #include <linux/sched.h>
/linux-master/tools/perf/
H A Dbuiltin-sched.c129 int (*switch_event)(struct perf_sched *sched, struct evsel *evsel,
132 int (*runtime_event)(struct perf_sched *sched, struct evsel *evsel,
135 int (*wakeup_event)(struct perf_sched *sched, struct evsel *evsel,
139 int (*fork_event)(struct perf_sched *sched, union perf_event *event,
142 int (*migrate_task_event)(struct perf_sched *sched,
236 u64 last_time; /* time of previous sched in/out event */
241 u64 dt_delay; /* time between wakeup and sched-in */
288 static void burn_nsecs(struct perf_sched *sched, u64 nsecs) argument
294 } while (T1 + sched->run_measurement_overhead < T0 + nsecs);
307 static void calibrate_run_measurement_overhead(struct perf_sched *sched) argument
324 calibrate_sleep_measurement_overhead(struct perf_sched *sched) argument
370 add_sched_event_run(struct perf_sched *sched, struct task_desc *task, u64 timestamp, u64 duration) argument
393 add_sched_event_wakeup(struct perf_sched *sched, struct task_desc *task, u64 timestamp, struct task_desc *wakee) argument
420 add_sched_event_sleep(struct perf_sched *sched, struct task_desc *task, u64 timestamp, const char task_state __maybe_unused) argument
430 register_pid(struct perf_sched *sched, unsigned long pid, const char *comm) argument
476 print_task_traces(struct perf_sched *sched) argument
488 add_cross_task_wakeups(struct perf_sched *sched) argument
503 perf_sched__process_event(struct perf_sched *sched, struct sched_atom *atom) argument
544 self_open_counters(struct perf_sched *sched, unsigned long cur_task) argument
599 struct perf_sched *sched; member in struct:sched_thread_parms
607 struct perf_sched *sched = parms->sched; local
756 wait_for_tasks(sched); variable
797 test_calibrations(struct perf_sched *sched) argument
815 replay_wakeup_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine __maybe_unused) argument
836 replay_switch_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine __maybe_unused) argument
882 replay_fork_event(struct perf_sched *sched, union perf_event *event, struct machine *machine) argument
1021 thread_atoms_insert(struct perf_sched *sched, struct thread *thread) argument
1103 latency_switch_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument
1173 latency_runtime_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument
1208 latency_wakeup_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument
1269 latency_migrate_task_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument
1319 output_lat_thread(struct perf_sched *sched, struct work_atoms *work_list) argument
1467 perf_sched__sort_lat(struct perf_sched *sched) argument
1493 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); local
1524 map__findnew_thread(struct perf_sched *sched, struct machine *machine, pid_t pid, pid_t tid) argument
1541 map_switch_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument
1691 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); local
1717 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); local
1730 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); local
1747 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); local
1807 perf_sched__read_events(struct perf_sched *sched) argument
1952 timehist_header(struct perf_sched *sched) argument
2011 timehist_print_sample(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct addr_location *al, struct thread *thread, u64 t, const char state) argument
2157 save_task_callchain(struct perf_sched *sched, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument
2302 save_idle_callchain(struct perf_sched *sched, struct idle_thread_runtime *itr, struct perf_sample *sample) argument
2318 timehist_get_thread(struct perf_sched *sched, struct perf_sample *sample, struct machine *machine, struct evsel *evsel) argument
2365 timehist_skip_sample(struct perf_sched *sched, struct thread *thread, struct evsel *evsel, struct perf_sample *sample) argument
2388 timehist_print_wakeup_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine, struct thread *awakened) argument
2437 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); local
2462 timehist_print_migration_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine, struct thread *migrated) argument
2521 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); local
2549 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); local
2737 struct perf_sched *sched; member in struct:total_run_stats
2820 timehist_print_summary(struct perf_sched *sched, struct perf_session *session) argument
2935 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); local
2953 timehist_check_attr(struct perf_sched *sched, struct evlist *evlist) argument
2976 perf_sched__timehist(struct perf_sched *sched) argument
3092 print_bad_events(struct perf_sched *sched) argument
3155 perf_sched__merge_lat(struct perf_sched *sched) argument
3170 setup_cpus_switch_event(struct perf_sched *sched) argument
3190 free_cpus_switch_event(struct perf_sched *sched) argument
3196 perf_sched__lat(struct perf_sched *sched) argument
3243 setup_map_cpus(struct perf_sched *sched) argument
3265 setup_color_pids(struct perf_sched *sched) argument
3282 setup_color_cpus(struct perf_sched *sched) argument
3299 perf_sched__map(struct perf_sched *sched) argument
3344 perf_sched__replay(struct perf_sched *sched) argument
3398 setup_sorting(struct perf_sched *sched, const struct option *options, const char * const usage_msg[]) argument
3507 struct perf_sched sched = { local
[all...]
/linux-master/net/netfilter/ipvs/
H A Dip_vs_sched.c61 struct ip_vs_scheduler *sched)
66 /* This check proves that old 'sched' was installed */
70 if (sched->done_service)
71 sched->done_service(svc);
81 struct ip_vs_scheduler *sched; local
87 list_for_each_entry(sched, &ip_vs_schedulers, n_list) {
91 if (sched->module && !try_module_get(sched->module)) {
97 if (strcmp(sched_name, sched->name)==0) {
100 return sched;
60 ip_vs_unbind_scheduler(struct ip_vs_service *svc, struct ip_vs_scheduler *sched) argument
115 struct ip_vs_scheduler *sched; local
145 struct ip_vs_scheduler *sched = rcu_dereference(svc->scheduler); local
169 struct ip_vs_scheduler *sched; local
[all...]
/linux-master/tools/testing/selftests/ftrace/test.d/00basic/
H A Dbasic4.tc5 grep -q sched available_events && exit_pass || exit_fail
/linux-master/arch/powerpc/include/asm/
H A Dlivepatch.h10 #include <linux/sched.h>
11 #include <linux/sched/task_stack.h>
/linux-master/tools/testing/selftests/ftrace/test.d/trigger/
H A Dtrigger-hist.tc4 # requires: set_event events/sched/sched_process_fork/trigger events/sched/sched_process_fork/hist
14 echo 'hist:keys=parent_pid:vals=child_pid' > events/sched/sched_process_fork/trigger
16 grep parent_pid events/sched/sched_process_fork/hist > /dev/null || \
18 grep child events/sched/sched_process_fork/hist > /dev/null || \
25 echo 'hist:keys=parent_pid,child_pid' > events/sched/sched_process_fork/trigger
27 grep '^{ parent_pid:.*, child_pid:.*}' events/sched/sched_process_fork/hist > /dev/null || \
34 echo 'hist:keys=parent_comm' > events/sched/sched_process_fork/trigger
37 grep "parent_comm: $COMM" events/sched/sched_process_fork/hist > /dev/null || \
62 echo 'hist:keys=parent_pid,child_pid:sort=child_pid.ascending' > events/sched/sched_process_for
[all...]
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_sched.c29 struct nouveau_sched *sched = args->sched; local
36 job->sched = sched;
89 ret = drm_sched_job_init(&job->base, &sched->entity,
121 struct nouveau_sched *sched = job->sched; local
123 spin_lock(&sched->job.list.lock);
125 spin_unlock(&sched->job.list.lock);
127 wake_up(&sched
276 struct nouveau_sched *sched = job->sched; local
371 struct drm_gpu_scheduler *sched = sched_job->sched; local
402 nouveau_sched_init(struct nouveau_sched *sched, struct nouveau_drm *drm, struct workqueue_struct *wq, u32 credit_limit) argument
460 struct nouveau_sched *sched; local
480 nouveau_sched_fini(struct nouveau_sched *sched) argument
501 struct nouveau_sched *sched = *psched; local
[all...]
/linux-master/arch/mips/sgi-ip32/
H A Dip32-berr.c12 #include <linux/sched.h>
13 #include <linux/sched/debug.h>
14 #include <linux/sched/signal.h>
/linux-master/drivers/usb/c67x00/
H A DMakefile8 c67x00-y := c67x00-drv.o c67x00-ll-hpi.o c67x00-hcd.o c67x00-sched.o
/linux-master/arch/riscv/include/asm/
H A Dcpu_ops_sbi.h10 #include <linux/sched.h>
/linux-master/security/apparmor/include/
H A Dipc.h14 #include <linux/sched.h>

Completed in 265 milliseconds

1234567891011>>