aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-record
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2022-12-21 12:15:21 -0800
committerJakub Kicinski <[email protected]>2022-12-21 12:15:21 -0800
commitc183e6c3ec342624c43269c099050d01eeb67e63 (patch)
treebbfd027f74581221debe1d31e3b472cc0d03cf3b /tools/perf/scripts/python/bin/task-analyzer-record
parent9054b41c4e1b5725e573c13166cee56bf7034bbd (diff)
parent609d3bc6230514a8ca79b377775b17e8c3d9ac93 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
No conflicts. Signed-off-by: Jakub Kicinski <[email protected]>
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 "$@"