summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Customize .mark -l output.Stan Cox2009-03-312-7/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tapsets.cxx (dwarf_builder::build): Add .mark name wildcard check. Customize -l handling. * testsuite/systemtap.base/static_uprobes.exp: Test .mark name wildcard.
* | | | | | | | Add fake Systemtap Hackers author to tapset reference manual template.Mark Wielaard2009-03-311-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/SystemTap_Tapset_Reference/tapsets.tmpl: Add authorblock.
* | | | | | | | Add missing socket function argument descriptions.Mark Wielaard2009-03-311-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tapsets/socket.stp: Add descriptions for proto, family and state.
* | | | | | | | PR10016: Run stap in its own process group with waiter process for signals.Mark Wielaard2009-03-311-2/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * main.cxx (runner): New main function. (waiter_handler): Signal handler for waiter process. (waiter): Waiter process waitpid function. (main): Fork and run wait and runner in their own processes.
* | | | | | | | PR9998: new config and test filesWenji Huang2009-03-303-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/autoconf-x86-gs.c : New file. * testsuite/systemtap.base/x86_gs.exp : New test case. * testsuite/systemtap.base/x86_gs.stp : Ditto.
* | | | | | | | PR9998: adapt tapset/i686/registers.stp to latest kernelWenji Huang2009-03-302-18/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * buildrun.cxx (compile_pass): Add autoconf-x86-gs.c. * tapset/i686/registers.stp (_stp_register_regs): Update offsets. (test_x86_gs): Auxiliary function. * runtime/autoconf-x86-gs.c : New file. * testsuite/systemtap.base/x86_gs.exp : New test case. * testsuite/systemtap.base/x86_gs.stp : Ditto.
* | | | | | | | PR10016: systemtap kills all processes in process group on signal.Mark Wielaard2009-03-301-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * main.cxx (main): Make sure we run in our own process group.
* | | | | | | | Test marker probe parameter types.Stan Cox2009-03-303-25/+561
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/systemtap.base/sdt_types.c: New file. * testsuite/systemtap.base/sdt_types.stp: New file. * testsuite/systemtap.base/static_uprobes.exp: Use sdt_types for type testing.
* | | | | | | | prefer using /usr/bin/lsb_release to deduce distribution for testsuiteFrank Ch. Eigler2009-03-291-3/+9
| | | | | | | |
* | | | | | | | tweak "Distro:" line generation in testsuite logs, to moot ↵Frank Ch. Eigler2009-03-291-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "oracle-enterprise.patch"
* | | | | | | | hand-regen configure after commit 99c0acad yxmlto->xmlto typo fixFrank Ch. Eigler2009-03-291-2/+2
| | | | | | | |
* | | | | | | | Add headerEugeniy Meshcheryakov2009-03-281-0/+2
| | | | | | | |
* | | | | | | | Fix typo s/yxmlto/xmlto/Eugeniy Meshcheryakov2009-03-281-1/+1
| | | | | | | |
* | | | | | | | PR7045: on 64-bit kernels, allow 32-bit userspace to be pass elf validationFrank Ch. Eigler2009-03-271-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tapsets.cxx (validate_elf): Reorganize glob matching for x86 and ppc.
* | | | | | | | Don't do beginning of statement check for .mark probesStan Cox2009-03-271-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tapsets.cxx (dwarf_query): Add has_mark. (query_cu): Use for beginning of statement check. (dwarf_builder::build): Set has_mark.
* | | | | | | | Version bumps for 0.9.5 releaseJosh Stone2009-03-2712-2399/+2827
| | | | | | | |
* | | | | | | | PR6819: clarify syntactic vs. semantic probe point validityFrank Ch. Eigler2009-03-271-3/+8
| | | | | | | |
* | | | | | | | initialize skip_badvars=0. rererenag developers in session.h to do so in ↵Frank Ch. Eigler2009-03-272-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the future
* | | | | | | | PR10000: emit _stp_relocate* calculations correctly for kernel/module global ↵Frank Ch. Eigler2009-03-273-9/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $data * translate.cxx (dump_unwindsyms): Also emit STT_OBJECT symbols, therefore .data etc. sections into stap-symbols.h. * tapsets.cxx (iterate_over_modules): Omit a dwfl_getmodules() RC-checking assertion that blocked meaningful $context var error messages. (dwflpp::emit_address): Bypass dwfl_module_relocate_address() for kernel symbols as it has been unreliable; subtract sess.sym_stext manually. * testsuite/buildok/seventeen.stp: Extend test with module $global.
* | | | | | | | .gitignore: Add testsuite exe and so files and initscript systemtap.Mark Wielaard2009-03-272-0/+4
| | | | | | | |
* | | | | | | | Add manual for pid-based lookup functionsWenji Huang2009-03-261-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stapfuncs.3stap.in: Add description for pid2task and pid2execname.
* | | | | | | | 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.