| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
To better support kernel developers who work out of a single source
tree, this adds the git HEAD revision to our caching hash.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
* runtime/staprun/staprun_funcs.c (check_path): Save fully
canonicalized and checked module path for later loading.
|
|
|
|
|
| |
*configure.ac: Update help message for building with pie support.
*configure: Regenerate.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
*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.
|
|
|
|
| |
return != break
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
|\
| |
| |
| | |
* dtrace: Remove debugging line.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
* translate.cxx (emit_symbol_data): Abort dwfl_getmodules loop
as soon as we run out of modules we're looking for.
|
| |
| |
| |
| |
| | |
* tapsets.cxx (stringhash): Go to __gnu_cxx.
(dwarf_cast_expanding_visitor::visit_cast_op): Use ~0 for all-ones.
|
|/
|
|
| |
* dtrace: Remove debugging line.
|
|
|
|
|
| |
* includes/sdt.h (STAP_PROBEN): Use R "g" instead of RW "+rm" which
can result in "read-only variable arg1 used as asm output"
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
Adjusted all headers that #include <linux/utrace.h> to follow with:
/* PR9974: Adapt to struct renaming. */
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* buildrun.cxx (make_tracequery): Also search source/include/trace/*.h.
|
|
|
|
| |
* translate.cxx (emit_common_header): Always emit atomic_t skipped_* counters.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
|/
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Add strftime subset format support for output file name to systemtap.
This format will be evaluated when opening a new output file.
|