aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-record
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2022-12-16 14:45:03 -0800
committerAndrew Morton <[email protected]>2022-12-16 14:45:03 -0800
commit563a5423b7b75e1bee8b91caddf3181cca2a74bd (patch)
tree44fa2159392be20e96434588a866813dc08b11d7 /tools/perf/scripts/python/bin/task-analyzer-record
parentf9eeef5918bbe1f2545d36280330dced25d6cf97 (diff)
parent77856d911a8c8724ee8e2b09d55979fc1de8f1c0 (diff)
Merge branch 'master' into mm-nonmm-stable
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
-rwxr-xr-xtools/perf/scripts/python/bin/task-analyzer-record2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/bin/task-analyzer-record b/tools/perf/scripts/python/bin/task-analyzer-record
new file mode 100755
index 000000000000..0f6b51bb2767
--- /dev/null
+++ b/tools/perf/scripts/python/bin/task-analyzer-record
@@ -0,0 +1,2 @@
+#!/bin/bash
+perf record -e sched:sched_switch -e sched:sched_migrate_task "$@"