summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | 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
| | | | | | | | |
* | | | | | | | | Merge branch 'master' of ssh://kenistoj@sources.redhat.com/git/systemtapJim Keniston2009-03-2381-705/+1960
|\| | | | | | | |
| * | | | | | | | 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.
| * | | | | | | PR6930: initscript: support on-file flight recorderMasami Hiramatsu2009-03-202-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify systemtap initscript to support on-file flight recoder options.
| * | | | | | | PR6930: stap: supports on-file flight recorder optionsMasami Hiramatsu2009-03-206-7/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add on-file flight recorder options (the combination of -F and -o, and -S option) to stap command, and change manpages and NEWS. - Both of -F and -o is specified, stap passes -D option to staprun. - stap just passes -S option to staprun.
| * | | | | | | PR6930: stapio: support file switchingMasami Hiramatsu2009-03-205-17/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add file-switching option(-S size[,N]) to stapio. This option has two arguments, 'size' and 'N', and requires -o option. - When the size of output file exceeds specified 'size'MB, staprun switches output file to the next file. For this purpose, all output file has a serial number as a suffix only when user specifies this option. - Using this option in bulk mode, the output file name will be 'FILE_cpuX.SERIAL'. - When the number of files exceeds specified N, staprun removes the oldest file. This argument can be omitted.
| * | | | | | | PR6930: stapio: run in background as a daemonMasami Hiramatsu2009-03-203-4/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add '-D'(daemon mode) option to staprun/stapio for daemon mode. In this mode, stapio shows just its pid and detachs from console. Since it has no stdio, this mode requires -o option. stapio will exit when it receives SIGTERM or detects some error.
| * | | | | | | PR6930: staprun: supports error message to syslogMasami Hiramatsu2009-03-203-8/+33
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an interface (eprintf) to output error messages to syslogd, because staprun has no stderr after detaching from console.
| * | | | | | Removed #if defined. Format '%llx' works fine for all ArchMahesh J Salgaonkar2009-03-201-7/+0
| | | | | | |
| * | | | | | PR9940: avoid duplicated calling of uprobes in shared librariesWenji Huang2009-03-191-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add map_p argument to __stp_call_vm_callbacks_with_vma to well tune the vma callback. Signed-off-by: Wenji Huang <wenji.huang@oracle.com>
| * | | | | | PR9960: support tracepoint struct/union value argJosh Stone2009-03-191-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a tracepoint arg is a structure or union that is passed by value, then this takes the address of the parameter so it can be used like a pointer in the rest of our code.
| * | | | | | Allow @cast on "struct " and "union " (by ignoring them).Mark Wielaard2009-03-191-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * parse.cxx (parser::parse_symbol): Strip off "struct " or "union " from cop->type.
| * | | | | | Throw type into semantic_error message of @cast when not found.Mark Wielaard2009-03-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tapsets.cxx (dwarf_cast_expanding_visitor::visit_cast_op): Add type to msg added to semantic_error when thrown.
| * | | | | | Disable kprobe blacklist in guru mode.Lubomir Rintel2009-03-192-3/+16
| | | | | | |
| * | | | | | BZ490802, remove bumpspec-unfriendly %{release} macro logicFrank Ch. Eigler2009-03-191-3/+2
| | | | | | |
| * | | | | | rename process().itrace -> process().insn introduce process().insn.blockFrank Ch. Eigler2009-03-193-12/+21
| | | | | | |
| * | | | | | start of rhel5 compatibility for itraceFrank Ch. Eigler2009-03-192-2/+49
| | | | | | |