| 1 |
pf4.stp - Profile Kernel/User Backtraces |
| 2 |
|
| 3 |
The pf4.stp script sets up time-based sampling. Every five seconds it |
| 4 |
prints out a sorted list with the top twenty kernel and/or user stack |
| 5 |
backtraces (on a per-cpu basis). Use any of --ldd, --all-modules, -d |
| 6 |
MODULE, -d /PATH/TO/EXEC to add more symbolic info. |
| 7 |
|
| 8 |
$ stap pf4.stp -T 5 --all-modules --ldd |
| 9 |
|
| 10 |
--- 1 samples recorded: |
| 11 |
1 hits on cpu 0 |
| 12 |
groups_search+0x6 [kernel] |
| 13 |
in_group_p+0x31 [kernel] |
| 14 |
generic_permission+0x166 [kernel] |
| 15 |
__inode_permission+0x29 [kernel] |
| 16 |
inode_permission+0x18 [kernel] |
| 17 |
would_dump+0x1b [kernel] |
| 18 |
load_elf_binary+0x7c5 [kernel] |
| 19 |
search_binary_handler+0x93 [kernel] |
| 20 |
do_execve_common.isra.24+0x4ea [kernel] |
| 21 |
sys_execve+0x29 [kernel] |
| 22 |
stub_execve+0x69 [kernel] |
| 23 |
|
| 24 |
|
| 25 |
--- 0 samples recorded: |
| 26 |
|