diff options
| author | 2011-11-16 12:39:48 +1100 | |
|---|---|---|
| committer | 2011-11-16 12:39:48 +1100 | |
| commit | 24942c8e5cc8696064ee207ff29d4cf21f70dafc (patch) | |
| tree | 08a8221eb72ec3da7746d7d76f6f5915ce77cde7 /tools/perf/scripts/python/bin | |
| parent | Documentation: clarify the purpose of LSMs (diff) | |
| parent | Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus (diff) | |
Merge branch 'master'; commit 'v3.2-rc2' into next
Diffstat (limited to 'tools/perf/scripts/python/bin')
| -rwxr-xr-x | tools/perf/scripts/python/bin/net_dropmonitor-record | 2 | ||||
| -rwxr-xr-x | tools/perf/scripts/python/bin/net_dropmonitor-report | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/bin/net_dropmonitor-record b/tools/perf/scripts/python/bin/net_dropmonitor-record new file mode 100755 index 000000000000..423fb81dadae --- /dev/null +++ b/tools/perf/scripts/python/bin/net_dropmonitor-record @@ -0,0 +1,2 @@ +#!/bin/bash +perf record -e skb:kfree_skb $@ diff --git a/tools/perf/scripts/python/bin/net_dropmonitor-report b/tools/perf/scripts/python/bin/net_dropmonitor-report new file mode 100755 index 000000000000..8d698f5a06aa --- /dev/null +++ b/tools/perf/scripts/python/bin/net_dropmonitor-report @@ -0,0 +1,4 @@ +#!/bin/bash +# description: display a table of dropped frames + +perf script -s "$PERF_EXEC_PATH"/scripts/python/net_dropmonitor.py $@ |
