Searched refs:sched (Results 1 – 25 of 43) sorted by relevance
12
109 int (*switch_event)(struct perf_sched *sched, struct perf_evsel *evsel,112 int (*runtime_event)(struct perf_sched *sched, struct perf_evsel *evsel,115 int (*wakeup_event)(struct perf_sched *sched, struct perf_evsel *evsel,119 int (*fork_event)(struct perf_sched *sched, union perf_event *event,122 int (*migrate_task_event)(struct perf_sched *sched,206 static void burn_nsecs(struct perf_sched *sched, u64 nsecs) in burn_nsecs() argument212 } while (T1 + sched->run_measurement_overhead < T0 + nsecs); in burn_nsecs()225 static void calibrate_run_measurement_overhead(struct perf_sched *sched) in calibrate_run_measurement_overhead() argument232 burn_nsecs(sched, 0); in calibrate_run_measurement_overhead()237 sched->run_measurement_overhead = min_delta; in calibrate_run_measurement_overhead()[all …]
23 perf-sched mainporcelain common
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then31 echo 'traceoff if child_pid == 0' > events/sched/sched_process_fork/trigger40 ! echo 'traceoff if a' > events/sched/sched_process_fork/trigger41 ! echo 'traceoff if common_pid=0' > events/sched/sched_process_fork/trigger42 ! echo 'traceoff if common_pid==b' > events/sched/sched_process_fork/trigger43 echo 'traceoff if common_pid == 0' > events/sched/sched_process_fork/trigger44 echo '!traceoff' > events/sched/sched_process_fork/trigger45 ! echo 'traceoff if common_pid == child_pid' > events/sched/sched_process_fork/trigger46 echo 'traceoff if common_pid <= 0' > events/sched/sched_process_fork/trigger[all …]
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then29 FEATURE=`grep enable_event events/sched/sched_process_fork/trigger`36 echo 0 > events/sched/sched_switch/enable37 echo 'enable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger39 if [ `cat events/sched/sched_switch/enable` != '1*' ]; then46 echo 1 > events/sched/sched_switch/enable47 echo 'disable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger49 if [ `cat events/sched/sched_switch/enable` != '0*' ]; then56 ! echo 'enable_event:nogroup:noevent' > events/sched/sched_process_fork/trigger[all …]
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then26 if [ ! -f events/sched/sched_process_fork/hist ]; then38 echo 'hist:keys=parent_pid:vals=child_pid' > events/sched/sched_process_fork/trigger39 echo 'hist:keys=parent_comm:vals=child_pid' >> events/sched/sched_process_fork/trigger41 grep parent_pid events/sched/sched_process_fork/hist > /dev/null || \43 grep child events/sched/sched_process_fork/hist > /dev/null || \46 grep "parent_comm: $COMM" events/sched/sched_process_fork/hist > /dev/null || \53 echo 'hist:name=test_hist:keys=common_pid' > events/sched/sched_process_fork/trigger55 grep test_hist events/sched/sched_process_fork/hist > /dev/null || \[all …]
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then26 if [ ! -f events/sched/sched_process_fork/hist ]; then36 echo 'hist:keys=parent_pid:vals=child_pid' > events/sched/sched_process_fork/trigger38 grep parent_pid events/sched/sched_process_fork/hist > /dev/null || \40 grep child events/sched/sched_process_fork/hist > /dev/null || \47 echo 'hist:keys=parent_pid,child_pid' > events/sched/sched_process_fork/trigger49 grep '^{ parent_pid:.*, child_pid:.*}' events/sched/sched_process_fork/hist > /dev/null || \56 echo 'hist:keys=parent_comm' > events/sched/sched_process_fork/trigger59 grep "parent_comm: $COMM" events/sched/sched_process_fork/hist > /dev/null || \[all …]
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then31 echo 'traceoff' > events/sched/sched_process_fork/trigger41 echo 'traceon' > events/sched/sched_process_fork/trigger50 ! echo 'traceoff:badparam' > events/sched/sched_process_fork/trigger51 ! echo 'traceoff+0' > events/sched/sched_process_fork/trigger52 echo 'traceon' > events/sched/sched_process_fork/trigger53 ! echo 'traceon' > events/sched/sched_process_fork/trigger54 ! echo 'traceoff' > events/sched/sched_process_fork/trigger
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then29 FEATURE=`grep snapshot events/sched/sched_process_fork/trigger`37 echo 1 > events/sched/sched_process_fork/enable39 echo 'snapshot:1' > events/sched/sched_process_fork/trigger46 echo 0 > events/sched/sched_process_fork/enable50 ! echo "snapshot+1" > events/sched/sched_process_fork/trigger51 echo "snapshot" > events/sched/sched_process_fork/trigger52 ! echo "snapshot" > events/sched/sched_process_fork/trigger
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then29 FEATURE=`grep stacktrace events/sched/sched_process_fork/trigger`38 echo 'stacktrace' > events/sched/sched_process_fork/trigger47 ! echo "stacktrace:foo" > events/sched/sched_process_fork/trigger48 echo "stacktrace" > events/sched/sched_process_fork/trigger49 ! echo "stacktrace" > events/sched/sched_process_fork/trigger
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then26 if [ ! -f events/sched/sched_process_fork/hist ]; then36 echo 'hist:keys=common_pid.execname' > events/sched/sched_process_fork/trigger39 grep "common_pid: $COMM" events/sched/sched_process_fork/hist > /dev/null || \46 echo 'hist:keys=parent_pid.hex' > events/sched/sched_process_fork/trigger50 grep "parent_pid: $HEX" events/sched/sched_process_fork/hist > /dev/null || \
2 perf record -m 16384 -e sched:sched_wakeup -e sched:sched_wakeup_new -e sched:sched_switch -e sched…
3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/sched-migration.py
1 perf-sched(1)6 perf-sched - Tool to trace/measure scheduler properties (latencies)11 'perf sched' {record|latency|map|replay|script}15 There are five variants of perf sched:17 'perf sched record <command>' to record the scheduling events20 'perf sched latency' to report the per task scheduling latencies23 'perf sched script' to see a detailed trace of the workload that26 'perf sched replay' to simulate the workload that was recorded27 via perf sched record. (this is done by starting up mockup threads33 'perf sched map' to print a textual context-switching outline of[all …]
31 % perf bench sched pipe # with no style specified42 % perf bench --format=simple sched pipe # specified simple49 'sched'::64 SUITES FOR 'sched'92 % perf bench sched messaging # run with default98 % perf bench sched messaging -t -g 20 # be multi-thread, with 20 groups119 % perf bench sched pipe126 % perf bench sched pipe -l 1000 # loop 1000
19 if [ ! -f set_event -o ! -d events/sched ]; then38 echo 1 > events/sched/enable49 echo 0 > events/sched/enable
19 if [ ! -f set_event -o ! -d events/sched ]; then38 echo 1 > events/sched/sched_switch/enable49 echo 0 > events/sched/sched_switch/enable
21 if [ ! -f set_event -o ! -d events/sched ]; then34 echo 1 > events/sched/sched_switch/enable61 echo 1 > events/sched/sched_switch/enable
2 perf record -e sched:sched_switch -e sched:sched_wakeup $@
1 perf-y += sched-messaging.o2 perf-y += sched-pipe.o
383 for (int sched = 0; sched < 2; sched++) { in main() local384 mov_0_gs(0, !!sched); in main()385 mov_0_gs(1, !!sched); in main()386 mov_0_gs(0x200000000, !!sched); in main()
28 sub sched::sched_switch subroutine51 sub sched::sched_wakeup subroutine
1 rcutorture.torture_type=sched
5 grep -q sched available_events && exit 0 || exit $FAIL
45 echo 1 > foo/events/sched/sched_switch