summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/rand.stp
Commit message (Collapse)AuthorAgeFilesLines
* PR10632: simplify randint() implementationFrank Ch. Eigler2009-09-231-27/+5
| | | | | | | | | * tapset/random.stp (randint): Make it 1-arity (imply min=0). Document with kerneldoc. * doc/Systemtap_Tapset_Reference/tapsets.tmpl: Extract the docs. * runtime/arith.c (_stp_random_pm_u): Rename without _pm. (_stp_random_pm): Rewrite in terms of ..._u. * testsuite/random.stp: Adapt & simplify.
* PR10632: tapset: randint() function + testsRoland Grunberg2009-09-231-0/+41