From b97433ee6ff2c55b0de269e7b55f6c2a381f2143 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 25 Nov 2009 01:15:52 -0600 Subject: [PATCH] --- yaml --- r: 169860 b: refs/heads/master c: 1ae4a971250c55e473ca53c78011fcf73809885d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/tools/perf/scripts/perl/bin/check-perf-trace-record | 7 +++++++ trunk/tools/perf/scripts/perl/bin/check-perf-trace-report | 5 +++++ trunk/tools/perf/scripts/perl/bin/rw-by-file-record | 2 ++ trunk/tools/perf/scripts/perl/bin/rw-by-file-report | 5 +++++ trunk/tools/perf/scripts/perl/bin/rw-by-pid-record | 2 ++ trunk/tools/perf/scripts/perl/bin/rw-by-pid-report | 5 +++++ trunk/tools/perf/scripts/perl/bin/wakeup-latency-record | 6 ++++++ trunk/tools/perf/scripts/perl/bin/wakeup-latency-report | 5 +++++ trunk/tools/perf/scripts/perl/bin/workqueue-stats-record | 2 ++ trunk/tools/perf/scripts/perl/bin/workqueue-stats-report | 6 ++++++ 11 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 trunk/tools/perf/scripts/perl/bin/check-perf-trace-record create mode 100644 trunk/tools/perf/scripts/perl/bin/check-perf-trace-report create mode 100644 trunk/tools/perf/scripts/perl/bin/rw-by-file-record create mode 100644 trunk/tools/perf/scripts/perl/bin/rw-by-file-report create mode 100644 trunk/tools/perf/scripts/perl/bin/rw-by-pid-record create mode 100644 trunk/tools/perf/scripts/perl/bin/rw-by-pid-report create mode 100644 trunk/tools/perf/scripts/perl/bin/wakeup-latency-record create mode 100644 trunk/tools/perf/scripts/perl/bin/wakeup-latency-report create mode 100644 trunk/tools/perf/scripts/perl/bin/workqueue-stats-record create mode 100644 trunk/tools/perf/scripts/perl/bin/workqueue-stats-report diff --git a/[refs] b/[refs] index 8499e6d921da..93571130a7b6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 89fbf0b8a021cbf60abeacfb6b538e97c83afada +refs/heads/master: 1ae4a971250c55e473ca53c78011fcf73809885d diff --git a/trunk/tools/perf/scripts/perl/bin/check-perf-trace-record b/trunk/tools/perf/scripts/perl/bin/check-perf-trace-record new file mode 100644 index 000000000000..c7ec5de2f535 --- /dev/null +++ b/trunk/tools/perf/scripts/perl/bin/check-perf-trace-record @@ -0,0 +1,7 @@ +#!/bin/bash +perf record -c 1 -f -a -M -R -e kmem:kmalloc -e irq:softirq_entry + + + + + diff --git a/trunk/tools/perf/scripts/perl/bin/check-perf-trace-report b/trunk/tools/perf/scripts/perl/bin/check-perf-trace-report new file mode 100644 index 000000000000..89948b015020 --- /dev/null +++ b/trunk/tools/perf/scripts/perl/bin/check-perf-trace-report @@ -0,0 +1,5 @@ +#!/bin/bash +perf trace -s ~/libexec/perf-core/scripts/perl/check-perf-trace.pl + + + diff --git a/trunk/tools/perf/scripts/perl/bin/rw-by-file-record b/trunk/tools/perf/scripts/perl/bin/rw-by-file-record new file mode 100644 index 000000000000..b25056ebf963 --- /dev/null +++ b/trunk/tools/perf/scripts/perl/bin/rw-by-file-record @@ -0,0 +1,2 @@ +#!/bin/bash +perf record -c 1 -f -a -M -R -e syscalls:sys_enter_read -e syscalls:sys_enter_write diff --git a/trunk/tools/perf/scripts/perl/bin/rw-by-file-report b/trunk/tools/perf/scripts/perl/bin/rw-by-file-report new file mode 100644 index 000000000000..f5dcf9cb5bd2 --- /dev/null +++ b/trunk/tools/perf/scripts/perl/bin/rw-by-file-report @@ -0,0 +1,5 @@ +#!/bin/bash +perf trace -s ~/libexec/perf-core/scripts/perl/rw-by-file.pl + + + diff --git a/trunk/tools/perf/scripts/perl/bin/rw-by-pid-record b/trunk/tools/perf/scripts/perl/bin/rw-by-pid-record new file mode 100644 index 000000000000..8903979c5b6c --- /dev/null +++ b/trunk/tools/perf/scripts/perl/bin/rw-by-pid-record @@ -0,0 +1,2 @@ +#!/bin/bash +perf record -c 1 -f -a -M -R -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e syscalls:sys_exit_write diff --git a/trunk/tools/perf/scripts/perl/bin/rw-by-pid-report b/trunk/tools/perf/scripts/perl/bin/rw-by-pid-report new file mode 100644 index 000000000000..cea16f78a3a2 --- /dev/null +++ b/trunk/tools/perf/scripts/perl/bin/rw-by-pid-report @@ -0,0 +1,5 @@ +#!/bin/bash +perf trace -s ~/libexec/perf-core/scripts/perl/rw-by-pid.pl + + + diff --git a/trunk/tools/perf/scripts/perl/bin/wakeup-latency-record b/trunk/tools/perf/scripts/perl/bin/wakeup-latency-record new file mode 100644 index 000000000000..6abedda911a4 --- /dev/null +++ b/trunk/tools/perf/scripts/perl/bin/wakeup-latency-record @@ -0,0 +1,6 @@ +#!/bin/bash +perf record -c 1 -f -a -M -R -e sched:sched_switch -e sched:sched_wakeup + + + + diff --git a/trunk/tools/perf/scripts/perl/bin/wakeup-latency-report b/trunk/tools/perf/scripts/perl/bin/wakeup-latency-report new file mode 100644 index 000000000000..85769dc456eb --- /dev/null +++ b/trunk/tools/perf/scripts/perl/bin/wakeup-latency-report @@ -0,0 +1,5 @@ +#!/bin/bash +perf trace -s ~/libexec/perf-core/scripts/perl/wakeup-latency.pl + + + diff --git a/trunk/tools/perf/scripts/perl/bin/workqueue-stats-record b/trunk/tools/perf/scripts/perl/bin/workqueue-stats-record new file mode 100644 index 000000000000..fce6637b19ba --- /dev/null +++ b/trunk/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 diff --git a/trunk/tools/perf/scripts/perl/bin/workqueue-stats-report b/trunk/tools/perf/scripts/perl/bin/workqueue-stats-report new file mode 100644 index 000000000000..aa68435be926 --- /dev/null +++ b/trunk/tools/perf/scripts/perl/bin/workqueue-stats-report @@ -0,0 +1,6 @@ +#!/bin/bash +perf trace -s ~/libexec/perf-core/scripts/perl/workqueue-stats.pl + + + +