Home
last modified time | relevance | path

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

/tools/testing/selftests/ftrace/test.d/event/
Devent-enable.tc31 count=`cat trace | grep sched_switch | wc -l`
38 echo 1 > events/sched/sched_switch/enable
42 count=`cat trace | grep sched_switch | wc -l`
49 echo 0 > events/sched/sched_switch/enable
53 count=`cat trace | grep sched_switch | wc -l`
Devent-pid.tc34 echo 1 > events/sched/sched_switch/enable
38 count=`cat trace | grep sched_switch | wc -l`
52 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
61 echo 1 > events/sched/sched_switch/enable
65 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-eventonoff.tc36 echo 0 > events/sched/sched_switch/enable
39 if [ `cat events/sched/sched_switch/enable` != '1*' ]; then
46 echo 1 > events/sched/sched_switch/enable
49 if [ `cat events/sched/sched_switch/enable` != '0*' ]; then
/tools/perf/scripts/perl/bin/
Dwakeup-latency-record2 perf record -e sched:sched_switch -e sched:sched_wakeup $@
/tools/perf/scripts/python/bin/
Dsched-migration-record2 perf record -m 16384 -e sched:sched_wakeup -e sched:sched_wakeup_new -e sched:sched_switch -e sched…
/tools/perf/Documentation/
Dperf-inject.txt40 Merge sched_stat and sched_switch for getting events where and how long
41 tasks slept. sched_switch contains a callchain where a task slept and
Dintel-pt.txt563 sched_switch tracepoint
566 The sched_switch tracepoint is used to provide side-band data for Intel PT
567 decoding. sched_switch events are automatically added. e.g. the second event
638 Note, the sched_switch event is only added if the user is permitted to use it
641 Note also, the sched_switch event is only added if TSC packets are requested.
642 That is because, in the absence of timing information, the sched_switch events
Dperf-report.txt149 and event name everytime. For example, 'sched:sched_switch' event can
/tools/perf/scripts/python/
Dsched-migration.py102 def sched_switch(self, prev, prev_state, next): member in RunqueueSnapshot
177 def sched_switch(self, ts_list, prev, prev_state, next, cpu): member in TimeSlice
179 new_rq = old_rq.sched_switch(prev, prev_state, next)
331 def sched_switch(self, headers, prev_comm, prev_pid, prev_prio, prev_state, member in SchedEventProxy
347 ts.sched_switch(self.timeslices, prev_pid, prev_state, next_pid, headers.cpu)
425 parser.sched_switch(headers, prev_comm, prev_pid, prev_prio, prev_state,
/tools/perf/scripts/perl/
Dwakeup-latency.pl28 sub sched::sched_switch
/tools/perf/tests/
Dswitch-tracking.c310 const char *sched_switch = "sched:sched_switch"; in test__switch_tracking() local
368 if (!perf_evlist__can_select_event(evlist, sched_switch)) { in test__switch_tracking()
374 err = parse_events(evlist, sched_switch, NULL); in test__switch_tracking()
376 pr_debug("Failed to parse event %s\n", sched_switch); in test__switch_tracking()
/tools/testing/selftests/ftrace/test.d/instances/
Dinstance-event.tc45 echo 1 > foo/events/sched/sched_switch
/tools/perf/arch/x86/util/
Dintel-pt.c409 const char *sched_switch = "sched:sched_switch"; in intel_pt_track_switches() local
413 if (!perf_evlist__can_select_event(evlist, sched_switch)) in intel_pt_track_switches()
416 err = parse_events(evlist, sched_switch, NULL); in intel_pt_track_switches()
419 __func__, sched_switch, err); in intel_pt_track_switches()
/tools/perf/
Dbuiltin-timechart.c438 static void sched_switch(struct timechart *tchart, int cpu, u64 timestamp, in sched_switch() function
632 sched_switch(tchart, sample->cpu, sample->time, prev_pid, next_pid, in process_sample_sched_switch()