aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/futex-contention-record
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-10-27 08:25:15 +0200
committerIngo Molnar <mingo@elte.hu>2010-10-27 08:25:15 +0200
commite25804a0327dad954f7d43803178fdef2fd35b4e (patch)
tree401358b7c5abc09b93cec081213541caa0764c82 /tools/perf/scripts/python/bin/futex-contention-record
parentMerge branch 'tip/perf/ringbuffer-2' of git://git.kernel.org/pub/scm/linux/ke... (diff)
parentperf python scripting: Add futex-contention script (diff)
downloadlinux-e25804a0327dad954f7d43803178fdef2fd35b4e.tar.gz
linux-e25804a0327dad954f7d43803178fdef2fd35b4e.zip
Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 into perf/urgent
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 000000000000..5ecbb433caf4
--- /dev/null
+++ b/tools/perf/scripts/python/bin/futex-contention-record
@@ -0,0 +1,2 @@
+#!/bin/bash
+perf record -a -e syscalls:sys_enter_futex -e syscalls:sys_exit_futex $@