summaryrefslogtreecommitdiffstats
path: root/doc/langref.tex
Commit message (Collapse)AuthorAgeFilesLines
* langref.tex editingWilliam Cohen2010-03-121-228/+283
| | | | | | | | | | | | Reviewed the language reference manual and made editing changes: -Reorderd sections for better grouping -Added description of the @defined operation -Corrected limits for MAXSTRENLEN and number of indices in associate array -Adjusted language in aggregates section -Corrected @hist example writeup. -Make output for @hist avoid page breaks -Updated information about manpages in "For Futher References" section
* Language Refrence manual clean up.William Cohen2010-03-031-36/+22
| | | | | | -Remove unneeded pagebreak() -Remove duplicate system() command description -Clean up the function prototypes
* PR11004: try / catch error-handling script syntaxFrank Ch. Eigler2010-03-031-1/+23
| | | | | | | | | | | | | | | * parse.h (try_block): New class. Update basic visitors. * staptree.cxx: Implement basic visitors. * parse.cxx (expect_kw): Fix to actually look for keywords. (parse_try_block): New function. (lexer ctor): Designate 'try' and 'catch' as keywords. * elaborate.cxx (dead_assignment_remover, dead_statmtexpr_remover): Optimize. (other visitors): Implement. * translate.cxx (c_unparser): Implement via super-handy __local__ labels. (emit_probe, emit_function): Make outer out: label also __local__. * testsuite/buildok/fortyone.stp, semko/fortynine.stp, systemtap.base/trycatch.exp: Test it. * NEWS, doc/langref.txt, stap.1.in: Document it.
* Reformat/change per Josh's email comments.Robb Romans2010-01-041-53/+77
|
* PR10927: undocument nonexistent do/while constructFrank Ch. Eigler2009-11-101-10/+0
|
* PR10702: preprocessor conditional for kernel CONFIG_fooFrank Ch. Eigler2009-10-081-0/+11
| | | | | | | | * session.h (kernel_config[]): New session field. * main.cxx (parse_kernel_config): Populate it. * parse.cxx (eval_comparison): Use it. * testsuite/buildok/utrace.stp, testsuite/parseok/kconfig.stp: New tests. * NEWS, stap.1.in, doc/langref.tex: Mention it.
* Delete trailing whitespaceRobb Romans2009-09-291-42/+42
|
* Add information about userspace probingRobb Romans2009-09-291-0/+239
| | | | | Add information from the manual pages and from Prerna Saxena about userspace probing to the Language Reference Guide.
* Add syscall probe information to Language ReferenceRobb Romans2009-09-161-0/+36
| | | | | Signed-off-by: Robb Romans <robb@linux.vnet.ibm.com> Signed-off-by: Josh Stone <jistone@redhat.com>
* Add tracepoint information to Language ReferenceRobb Romans2009-09-161-0/+33
| | | | | Signed-off-by: Robb Romans <robb@linux.vnet.ibm.com> Signed-off-by: Josh Stone <jistone@redhat.com>
* Add PROCFS information to Language ReferenceRobb Romans2009-09-161-0/+42
| | | | | Signed-off-by: Robb Romans <robb@linux.vnet.ibm.com> Signed-off-by: Josh Stone <jistone@redhat.com>
* Update the langref copyright noticeJosh Stone2009-09-151-1/+1
|
* Fix some probe examples in the language referenceJosh Stone2009-09-151-7/+6
| | | | | | | * doc/langref.tex (section{Components of a SystemTap script}): Use .call/.return for the example of tracing function entry/exit. Also mention "-l" for listing probeable functions. (subsection{Embedded C functions}): Close the examples with '%}'.
* Update marker probe information in Language Reference.Robb Romans2009-09-091-18/+38
| | | | Signed-off-by: Robb Romans <robb@linux.vnet.ibm.com>
* Add pointer typecasting information to Language Reference.Robb Romans2009-09-091-1/+66
|
* Add error probe information.Robb Romans2009-09-091-8/+27
|
* PR10495: allow multiple probe aliases with same nameFrank Ch. Eigler2009-08-181-2/+2
| | | | | | | | * elaborate.cxx (match_node::bind): Change ->end to ->ends[] vector. (find_and_build,build_no_more): Iterate over ends[]. * elaborate.h: Corresponding changes. * testsuite/semok/thirtyfour.stp: New test. * NEWS, doc/langref.tex: Note this.
* Removed extra period in statement.(ADDRESS)Josh Stone2009-07-011-1/+1
|
* SystemTap Language Reference: DWARF-less probing patchRobb Romans2009-07-011-1/+59
| | | | | | | | Here is a patch to the Language Reference Guide that adds information about DWARF-less probing. Signed-off-by: Robb Romans <robb@linux.vnet.ibm.com> Signed-off-by: Josh Stone <jistone@redhat.com>
* Fix tokenize function and test.Przemyslaw Pawelczyk2009-06-171-2/+2
| | | | | | | | | | | | | | | | | 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 documentation for .label("label")Stan Cox2009-02-021-2/+6
|
* PR7051: Remove broken printf %n directive supportroot2008-12-051-10/+4
|
* Document written but unread global variable automatic display.Stan Cox2008-08-281-1/+3
|
* typographical tweaks for embedded script codeFrank Ch. Eigler2008-08-051-5/+5
|
* Add $$vars, $$parms, $$localsStan Cox2008-08-041-0/+11
|
* Update documentation for .statement wildcard.Stan Cox2008-06-231-3/+5
|
* Add test and doc for kernel.statement relative line number.Stan Cox2008-06-091-1/+7
|
* replace mentions of CVS with GIT in docuemntation filesFrank Ch. Eigler2008-03-311-1/+1
|
* * clarify utility of epilogue-type probe aliases in documentationfche2008-03-251-14/+10
| | | | | | | | 2008-03-25 Frank Ch. Eigler <fche@elastic.org> * stap.1.in: Clarify utility of epilogue type probe aliases. * langref.tex: Clarify utility of epilogue-type probe aliases.
* PR5697: include tutorial & language reference guidefche2008-02-271-0/+3285