aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/compaction-times-record
diff options
context:
space:
mode:
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 $@