| 1 |
title: Show performance ratios using perf.counter to access performance counters |
| 2 |
name: perf.stp |
| 3 |
version: 1.0 |
| 4 |
author: Stan Cox |
| 5 |
keywords: profiling |
| 6 |
subsystem: any |
| 7 |
status: production |
| 8 |
exit: user-controlled |
| 9 |
output: sorted-list |
| 10 |
requires: findutils-debuginfo |
| 11 |
scope: process |
| 12 |
description: On exit the perf.stp script provides a sorted list showing cycles per insn, branches per insn, and cache refs per insn |
| 13 |
test_support: rpm -q findutils-debuginfo |
| 14 |
test_check: stap -w -p4 perf.stp |
| 15 |
test_installcheck: stap -w perf.stp -c "find /usr/bin -name \"l*\" -printf \"%h/%f %s %Cx %Ck%CM %Y\n\"" |