summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/compaction-times-record
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-10-12 20:09:27 +0300
committerMark Brown <broonie@kernel.org>2015-10-12 20:09:27 +0300
commit79828b4fa835f73cdaf4bffa48696abdcbea9d02 (patch)
tree5e0fa7156acb75ba603022bc807df8f2fedb97a8 /tools/perf/scripts/python/bin/compaction-times-record
parent721b51fcf91898299d96f4b72cb9434cda29dce6 (diff)
parent8c1a9d6323abf0fb1e5dad96cf3f1c783505ea5a (diff)
downloadlinux-79828b4fa835f73cdaf4bffa48696abdcbea9d02.tar.xz
Merge remote-tracking branch 'asoc/fix/rt5645' into asoc-fix-rt5645
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 $@