summaryrefslogtreecommitdiffstats
path: root/includes
Commit message (Collapse)AuthorAgeFilesLines
* Use alloca trick to keep argN active on GCC 4.1.Stan Cox2009-04-011-14/+34
| | | | | | * includes/sys/sdt.h (STAP_UNINLINE): New. (STAP_UNINLINE_LABEL): New. static_uprobes.exp: Match using charset instead of .*
* Use read operand "g" constraints.Stan Cox2009-03-241-10/+10
| | | | | * includes/sdt.h (STAP_PROBEN): Use R "g" instead of RW "+rm" which can result in "read-only variable arg1 used as asm output"
* Keep static probe parameters visible while inlining.Stan Cox2009-03-241-94/+123
| | | | | | | | * includes/sys/sdt.h (STAP_PROBEN): Revive the STAP_LABEL macro to prevent inlining to keep probe parameters visible. Use +rm constraints. * tapsets.cxx (build): Use .probes section for all uses of static probes.
* Make .probes 32 bit aware and simplify label handling.Stan Cox2009-03-231-62/+56
| | | | | | * includes/sys/sdt.h (STAP_PROBE_DATA_): Use gas local labels which avoids a mysql problem when a function containing a probe is inlined. Make the data placement 32 bit aware.
* Define static user probe point using asm instead of c.Stan Cox2009-03-201-73/+50
| | | | | | | | | * includes/sys/sdt.h (STAP_PROBE_DATA): New. Define the probe point using asm instead of c. (STAP_PROBEN): Use it. * testsuite/systemtap.base/sdt.exp: Continue if a compile fails. * testsuite/systemtap.base/static_uprobes.exp: Don't test setting probe without .probes section.
* improve sdt.h compatibility and test suiteFrank Ch. Eigler2009-03-111-20/+20
| | | | | | Replaced cpp VA_ARGS in sdt.h with explicit enumeration of arguments (since with -pedantic, cpp has no varargs), and added a few more cflags variants to the sdt.exp test case.
* Ensure args are available for postgres static probes.Stan Cox2009-03-101-25/+25
| | | | * includes/sys/sdt.h: Couple asm with its arg declaration.
* Use alternate keywords for sdt.hStan Cox2009-03-091-136/+92
| | | | * include/sys/sdt.h: Initialize args when declaring. Use alternate keywords.
* Include sys/types.h in sdt.h for __uint64_t.Mark Wielaard2009-03-091-0/+1
| | | | * includes/sys/sdt.h: Add #include <sys/types.h>.
* Put statements after declaration in sdt macros. Fix arg10 assignment.Mark Wielaard2009-03-091-85/+140
| | | | * includes/sys/sdt.h: Assign args, after declaration.
* Only use plain C comments in sdt.h.Mark Wielaard2009-03-091-10/+11
| | | | includes/sys/sdt.h: Replace c++ comments with plain C comments.
* Remove extra semi-colons from defines in sdt.h.Mark Wielaard2009-03-091-3/+3
| | | | | * includes/sys/sdt.h (STAP_PROBE_STRUCT_ARG): Remove ending semi-colon. (STAP_LABEL_REF): Likewise.
* STAP_PROBE takes no extra arguments.Mark Wielaard2009-03-061-2/+2
| | | | * includes/sys/sdt.h (STAP_PROBE): Don't add __VA_ARGS__.
* Create unique named labels.Stan Cox2009-03-061-65/+94
| | | | | * includes/sys/sdt.h (STAP_PROBEN_): New macros that take advantage of __COUNTER__
* Allow the same static user probe to be used multiple times per line.Stan Cox2009-03-021-15/+41
| | | | | * dtrace (provider): Add STAP_PROBE10. * includes/sys/sdt.h: Likewise. Convert labels to __label__
* Always emit .probes section; use .label method as a backup strategyStan Cox2009-02-181-12/+5
|
* use "X" asm constraint for user-space marker parmsFrank Ch. Eigler2009-02-171-5/+5
|
* Move sdt.h to includes/sys and use in tests.Mark Wielaard2009-02-171-0/+180