aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/compaction-times-record
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2015-09-25 10:46:07 -0400
committerDoug Ledford <dledford@redhat.com>2015-09-25 10:46:07 -0400
commit310b7cec8ea32dcd4e9978423717ce78dd89d45d (patch)
treeed7de6ce3c25829d0e7de10d0db9b83c725ee327 /tools/perf/scripts/python/bin/compaction-times-record
parentIB/hfi: Properly set permissions for user device files (diff)
parentLinux 4.3-rc2 (diff)
downloadlinux-310b7cec8ea32dcd4e9978423717ce78dd89d45d.tar.gz
linux-310b7cec8ea32dcd4e9978423717ce78dd89d45d.zip
Merge tag 'v4.3-rc2' into k.o/for-4.3-v1
Linux 4.3-rc2
Diffstat (limited to 'tools/perf/scripts/python/bin/compaction-times-record')
-rw-r--r--tools/perf/scripts/python/bin/compaction-times-record2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/bin/compaction-times-record b/tools/perf/scripts/python/bin/compaction-times-record
new file mode 100644
index 000000000000..6edcd40e14e8
--- /dev/null
+++ b/tools/perf/scripts/python/bin/compaction-times-record
@@ -0,0 +1,2 @@
+#!/bin/bash
+perf record -e compaction:mm_compaction_begin -e compaction:mm_compaction_end -e compaction:mm_compaction_migratepages -e compaction:mm_compaction_isolate_migratepages -e compaction:mm_compaction_isolate_freepages $@