diff options
author | William Cohen <wcohen@redhat.com> | 2009-01-29 15:22:40 -0500 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2009-01-29 15:22:40 -0500 |
commit | ae7f749b222f23e3904dc79c4217f0070a05591c (patch) | |
tree | 690f491c3edcb2bc25d00eee9eaf4b17f3d53e58 /testsuite/systemtap.samples/primes.stp | |
parent | c5b08ee1ec3c731b85a3891c366527171bc56009 (diff) | |
download | systemtap-steved-ae7f749b222f23e3904dc79c4217f0070a05591c.tar.gz systemtap-steved-ae7f749b222f23e3904dc79c4217f0070a05591c.tar.xz systemtap-steved-ae7f749b222f23e3904dc79c4217f0070a05591c.zip |
Remove uninteresting examples, args.stp, primes.stp, and testlog.stp.
Diffstat (limited to 'testsuite/systemtap.samples/primes.stp')
-rw-r--r-- | testsuite/systemtap.samples/primes.stp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/testsuite/systemtap.samples/primes.stp b/testsuite/systemtap.samples/primes.stp deleted file mode 100644 index 1072b4b2..00000000 --- a/testsuite/systemtap.samples/primes.stp +++ /dev/null @@ -1,23 +0,0 @@ -#! stap - -global odds, evens - -probe begin { - # "no" and "ne" are local integers - for (i=1; i<10; i++) { - if (i % 2) odds [no++] = i - else evens [ne++] = i - } - delete odds[2] - delete evens[3] - exit () -} - -probe end { - foreach (x+ in odds) { - printf("odds[%d] = %d\n", x, odds[x]) - } - foreach (x in evens-) { - printf("evens[%d] = %d\n", x, evens[x]) - } -} |