| 1 |
title: Profile Kernel/User Functions |
| 2 |
name: fileline-profile.stp |
| 3 |
version: 1.0 |
| 4 |
author: Abegail Jakop |
| 5 |
keywords: profiling |
| 6 |
exit: user-controlled |
| 7 |
subsystem: any |
| 8 |
status: production |
| 9 |
output: sorted-list on-exit |
| 10 |
scope: system-wide |
| 11 |
description: The fileline-profile.stp script ends by printing out a sorted list of the top twenty kernel and/or user processes providing file:line information, if available, from the samples addresses gathered over the time period the script is run. Use any of --ldd, --all-modules, -d MODULE, -d /PATH/TO/EXEC to add more symbolic info. To include the symbol name in the output, specify guru mode (-g) and add symbolname="yes" to the stap command. |
| 12 |
test_check: stap -p4 fileline-profile.stp |
| 13 |
test_installcheck: stap fileline-profile.stp -T 6 --all-modules --ldd |