aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/futex-contention-record
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/scripts/python/bin/futex-contention-record')
-rw-r--r--tools/perf/scripts/python/bin/futex-contention-record2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/bin/futex-contention-record b/tools/perf/scripts/python/bin/futex-contention-record
new file mode 100644
index 00000000000..b1495c9a9b2
--- /dev/null
+++ b/tools/perf/scripts/python/bin/futex-contention-record
@@ -0,0 +1,2 @@
+#!/bin/bash
+perf record -e syscalls:sys_enter_futex -e syscalls:sys_exit_futex $@