summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/thread-times.meta
blob: fcbf062e64b9379e8da75d8b45713e0b2614ec51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
title: Profile kernel functions
name: thread-times.stp
version: 1.0
author: anonymous
keywords: profiling
subsystem: kernel
status: production
exit: user-controlled
output: sorted-list
scope: system-wide
description: The thread-times.stp script sets up time-based sampling. Every five seconds it prints out a sorted list with the top twenty processes with samples broken down into percentage total time spent in user-space and kernel-space.
test_check: stap -p4 thread-times.stp
test_installcheck: stap thread-times.stp -c "sleep 1"