aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/perl/bin/workqueue-stats-record
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/scripts/perl/bin/workqueue-stats-record')
-rw-r--r--tools/perf/scripts/perl/bin/workqueue-stats-record2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/scripts/perl/bin/workqueue-stats-record b/tools/perf/scripts/perl/bin/workqueue-stats-record
new file mode 100644
index 000000000000..fce6637b19ba
--- /dev/null
+++ b/tools/perf/scripts/perl/bin/workqueue-stats-record
@@ -0,0 +1,2 @@
+#!/bin/bash
+perf record -c 1 -f -a -M -R -e workqueue:workqueue_creation -e workqueue:workqueue_destruction -e workqueue:workqueue_execution -e workqueue:workqueue_insertion