summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/sched-migration-record
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/scripts/python/bin/sched-migration-record')
-rw-r--r--tools/perf/scripts/python/bin/sched-migration-record2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/bin/sched-migration-record b/tools/perf/scripts/python/bin/sched-migration-record
new file mode 100644
index 000000000000..17a3e9bd9e8f
--- /dev/null
+++ b/tools/perf/scripts/python/bin/sched-migration-record
@@ -0,0 +1,2 @@
+#!/bin/bash
+perf record -m 16384 -a -e sched:sched_wakeup -e sched:sched_wakeup_new -e sched:sched_switch -e sched:sched_migrate_task $@