summaryrefslogtreecommitdiffstats
path: root/stapfuncs.3stap.in
Commit message (Collapse)AuthorAgeFilesLines
* PR10390: ftrace() tapset functionFrank Ch. Eigler2009-09-231-30/+0
| | | | | | | | | | | * tapset/logging.stp (ftrace): New function. (*): Add kerneldoc to other functions. * doc/SystemTap_Tapset_Reference/tapsets.tmpl: Process logging.stp. * stapfuncs.3stap.in: Remove "LOGGING" section, now redundant. * runtime/autoconf-trace-printk.c: New autoconf test. * buildrun.cxx (compile_pass): Build it. * NEWS: Mention it. * testsuite/buildok/logging.stp: Test it.
* Fix tokenize function and test.Przemyslaw Pawelczyk2009-06-171-3/+3
| | | | | | | | | | | | | | | | | Previous implementation was error-prone, because allowed returning empty tokens (mimiced strsep()), which is fine if there is a NULL semantic. Unfortunately SystemTap doesn't provide it in scripts and has only blank string (""), therefore testing against it was misleading. The solution is to return only non-empty tokens (mimic strtok()). * tapset/string.stp: Fix tokenize. * testsuite/systemtap.string/tokenize.stp: Improve and add case with more than one delimiter in the delim string. * testsuite/systemtap.string/tokenize.exp: Ditto. * stapfuncs.3stap.in: Update tokenize description. * doc/langref.tex: Ditto. Signed-off-by: Josh Stone <jistone@redhat.com>
* Add pgrp() context tapset function. Describe sid().Przemyslaw Pawelczyk2009-06-151-0/+6
| | | | | | | | * tapset/context.stp: Add pgrp() function. * testsuite/buildok/context_test.stp: Add pgrp() call. * stapfuncs.3stap.in: Describe pgrp() and sid(). Signed-off-by: Josh Stone <jistone@redhat.com>
* Add manual for stringat functionWenji Huang2009-05-031-0/+3
|
* Add manual for pid-based lookup functionsWenji Huang2009-03-261-0/+8
| | | | | * stapfuncs.3stap.in: Add description for pid2task and pid2execname.
* Move man pages from man5 to man3 (3stap).Will Cohen2009-03-241-0/+668