summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Skip the git-rev in the hash for now (from a5e8d632)Josh Stone2009-03-261-1/+4
| | | | | | It may be potentially expensive to fork-exec a git call to get the HEAD revision, and it's not clear whether it's even needed. We can always throw this back on if we find a meaningful usage scenario.
* PR10001: Use the kernel's strlcpy & strlcatJosh Stone2009-03-261-16/+5
| | | | | | We had our own implementations of these which were triggering gcc bug38480 in some particular cases. It's easier for us to use the kernel's strlcpy and strlcat anyway, which avoids the bug.
* .gitignore: Replace .5 with .3stap.Mark Wielaard2009-03-261-1/+2
|
* Add the kernel tree's git revision to the hashJosh Stone2009-03-253-0/+32
| | | | | To better support kernel developers who work out of a single source tree, this adds the git HEAD revision to our caching hash.
* Add more file stats to the hashJosh Stone2009-03-252-14/+25
| | | | | | | | | | For kernel developers, it may be common practice to reuse the same kernel build tree for several kernel variants. Our previous hashing only considered the release version, architecture, and build path, which may all remain constant for such a developer. This change adds the file size and mtime of several kernel version files to the hash, so it should be a bit more robust against collisions.
* Make aux_tapset.stp "long long" size agnostic so ia64 works.William Cohen2009-03-251-1/+2
|
* NEWS: Mention disable-pie, sdt.h compat, syscall wrappers and CVE-2009-0784.Mark Wielaard2009-03-251-0/+12
|
* Fix for CVE-2009-0784: stapusr module-path checking raceFrank Ch. Eigler2009-03-251-0/+9
| | | | | * runtime/staprun/staprun_funcs.c (check_path): Save fully canonicalized and checked module path for later loading.
* Update configure --help message now that default is changedRajan Arora2009-03-252-2/+2
| | | | | *configure.ac: Update help message for building with pie support. *configure: Regenerate.
* NEWS: Document mark/trace list mode, interrupt reentrancy, reentrancy debug.Mark Wielaard2009-03-251-0/+12
|
* NEWS: Fix man 3stap description to original.Mark Wielaard2009-03-251-6/+5
|
* NEWS: Add description of probe process().insn and process().insn.block.Mark Wielaard2009-03-251-0/+9
|
* NEWS: Document how to see man pages for probes and functions in 3stap section.Mark Wielaard2009-03-251-2/+5
|
* PR 9922 fix, make --disable-pie the configure defaultRajan Arora2009-03-243-3/+12
| | | | | | | *configure.ac: Change the default to compiling without fPIE. *systemtap.spec: Add --enable-pie as the default option (set pie_supported to 1). *configure: Regenerated with autoconf 2.61.
* brown paper bag fix for commit 5d6b0142Frank Ch. Eigler2009-03-241-2/+2
| | | | return != break
* Typo and whitespace.Roland McGrath2009-03-241-33/+33
|
* further accelerate pass-3 symbol/unwind process, skip one more iterationFrank Ch. Eigler2009-03-241-2/+4
|
* Add testcase for uprobe on shared library (PR9940).Mark Wielaard2009-03-244-0/+94
| | | | | | | * testsuite/systemtap.base/uprobes_exe.c: New file. * testsuite/systemtap.base/uprobes_lib.c: New file. * testsuite/systemtap.base/uprobes_lib.exp: New file. * testsuite/systemtap.base/uprobes_lib.stp: New file.
* Remove debugging line.Stan Cox2009-03-244-22/+35
|\ | | | | | | * dtrace: Remove debugging line.
| * Revert "PR9940: avoid duplicated calling of uprobes in shared libraries"Frank Ch. Eigler2009-03-241-4/+2
| | | | | | | | | | | | | | | | | | | | This fix caused a regression on fedora. stap -ve 'probe process("/bin/ls").function("main") { log(pp()); } probe process("/lib64/libc.so.6").function("*") { log(pp()); }' \ -c /bin/ls hung (with stapio & ls processes spinning) upon startup.
| * itrace: zap "usr_itrace_init: completed for tid = NNNN" debug messageFrank Ch. Eigler2009-03-241-1/+2
| |
| * PR 9989 fix.David Smith2009-03-241-13/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-03-24 David Smith <dsmith@redhat.com> PR 9989. * runtime/task_finder.c (stap_utrace_detach): Ignores -EINPROGRESS. (stap_utrace_detach_ops): Ignores errors from stap_utrace_detach(), so that other tasks will get detached from this utrace engine. (__stp_utrace_attach): Better error handling from utrace_barrier(). (__stp_utrace_task_finder_target_quiesce): Ditto.
| * accelerate pass-3 symbol/unwind generationFrank Ch. Eigler2009-03-241-2/+2
| | | | | | | | | | * translate.cxx (emit_symbol_data): Abort dwfl_getmodules loop as soon as we run out of modules we're looking for.
| * build fix for RHEL4-era gcc 3.4.6Frank Ch. Eigler2009-03-241-2/+3
| | | | | | | | | | * tapsets.cxx (stringhash): Go to __gnu_cxx. (dwarf_cast_expanding_visitor::visit_cast_op): Use ~0 for all-ones.
* | Remove debugging line.Stan Cox2009-03-241-1/+0
|/ | | | * dtrace: Remove debugging line.
* 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"
* Add NEWS entry for the manpages.William Cohen2009-03-241-0/+4
|
* Strip off "probe" for the probe documentation generation.William Cohen2009-03-241-1/+1
|
* PR9993: tracepoint toleration for undeclared types in trace/*.h headersFrank Ch. Eigler2009-03-244-3/+49
| | | | | | | | | * tapsets.cxx (tracepoint_extra_headers): New function to return needed header file names. (emit_module_decls): Emit them. * buildrun.cxx (make_tracequery): Emit them. * testsuite/systemtap.base/tracepoints.exp: Rewrite to exercise building each tracepoint.
* Keep static probe parameters visible while inlining.Stan Cox2009-03-242-104/+126
| | | | | | | | * 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.
* Move man pages from man5 to man3 (3stap).Will Cohen2009-03-2426-151/+157
|
* Move tapset documentation manpages from man3stap to man3.William Cohen2009-03-243-7/+7
|
* Add missing escape in kernel-doc create_sparameterlist() matching.William Cohen2009-03-231-1/+1
|
* 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.
* PR9974: adapt to utrace_connected_engine -> utrace_engineFrank Ch. Eigler2009-03-225-0/+28
| | | | | | Adjusted all headers that #include <linux/utrace.h> to follow with: /* PR9974: Adapt to struct renaming. */
* sdt.exp: save intermediate sdt.h-client executables for analysisFrank Ch. Eigler2009-03-213-16/+20
| | | | | | * testsuite/lib/stap_run2.exp (stap_run3): Put supplied stap extra arguments after the .stp script name, not before, so that @1/such arguments can be substituted within.
* Update a few new AUTHORSJosh Stone2009-03-201-0/+3
|
* Add a tracepoint NEWS blurbJosh Stone2009-03-201-0/+7
|
* Document @cast module search pathsJosh Stone2009-03-202-4/+11
|
* Cache the tracepoint query resultsJosh Stone2009-03-204-1/+53
| | | | | | | To use tracepoints, we build a "tracequery" module that compiles debuginfo for all available tracepoints in the user's kernel. That's a bit of a cumbersome step to do during pass-2 though. This change adds tracequery caching so we only need to compile it once.
* support tracepoint extraction for kernel build trees built with O=/pathFrank Ch. Eigler2009-03-201-13/+17
| | | | * buildrun.cxx (make_tracequery): Also search source/include/trace/*.h.
* fix build regression w/o -tFrank Ch. Eigler2009-03-201-2/+0
| | | | * translate.cxx (emit_common_header): Always emit atomic_t skipped_* counters.
* Define static user probe point using asm instead of c.Stan Cox2009-03-203-4/+8
|\
| * PR9967: don't count -DINTERRUPTIBLE=1 reentrancy against MAXSKIPPEDFrank Ch. Eigler2009-03-203-4/+8
| | | | | | | | | | | | | | * tapsets.cxx (common_probe_entryfn_prologue): Become conditional on !INTERRUPTIBLE. * translate.cxx (emit_module_exit): Still print skipped_count_reentrant with -t, even if skipped_count was zero.
* | Define static user probe point using asm instead of c.Stan Cox2009-03-203-77/+64
|/ | | | | | | | | * 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.
* tweak NEWS blurb wording on --skip-badvarsFrank Ch. Eigler2009-03-201-3/+3
|
* Merge branch 'master' of ssh://hiramatu@sources.redhat.com/git/systemtapMasami Hiramatsu2009-03-204-35/+81
|\
| * removed authorblock from tapset reference guide; added ip.stp to templateFrank Ch. Eigler2009-03-201-35/+4
| |
| * Added functions to grab IP source and destination from a socket, andBreno Leitao2009-03-203-0/+77
| | | | | | | | | | | | | | functions to grab TCP source and destination port from a socket. Also, used this function inside some TCP probe functions, as recvmsg, to provide a richer set of fields.
* | PR9821: staprun supports subset of strftime.Masami Hiramatsu2009-03-207-34/+240
| | | | | | | | | | Add strftime subset format support for output file name to systemtap. This format will be evaluated when opening a new output file.