]> sourceware.org Git - systemtap.git/commitdiff
Allow stopwatch example to run with bpf backend.
authorWilliam Cohen <wcohen@redhat.com>
Mon, 11 Oct 2021 20:52:24 +0000 (16:52 -0400)
committerWilliam Cohen <wcohen@redhat.com>
Mon, 11 Oct 2021 21:01:55 +0000 (17:01 -0400)
testsuite/systemtap.examples/general/stopwatches.meta

index 98a6ea2766921be460195a68d22d30870c10ccdb..1e58d0fd92d473819cdf7c8f7add4ca999d5ca3d 100644 (file)
@@ -2,7 +2,7 @@ title: See the amount of wall clock time a process spends in various states
 name: stopwatches.stp
 version: 1.0
 author: William Cohen
-keywords: time
+keywords: time bpf
 subsystem: process
 status: experimental
 exit: user-controlled
@@ -11,3 +11,5 @@ scope: process
 description: The stopwatch.stp script illustrates how to use multiple stopwatches record how much wallclock time a process spends in kernel- and user-space.  On exit the script prints out the time in seconds, milliseconds, microseconds, and nanoseconds. Note that this output of this script is not directly comparable to the time command because time records the time that the process is actually active in kernel- and user-space.
 test_check: stap -p4 stopwatches.stp
 test_installcheck: stap stopwatches.stp -T 1
+test_check_bpf: stap --bpf -p4 stopwatches.stp
+test_installcheck_bpf: stap --bpf stopwatches.stp -T 1
This page took 0.028239 seconds and 5 git commands to generate.