summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | 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
|
* add runtime/autoconf magic for itrace on pre-find_task_by_vpid kernelsFrank Ch. Eigler2009-03-192-0/+7
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapWilliam Cohen2009-03-191-32/+50
|\
| * PR9959: hide tracepoint arguments of unknown typeJosh Stone2009-03-181-18/+22
| | | | | | | | | | | | We always have to know the type name of tracepoint arguments, so we can declare the right function callback, but we can suppress access to those types which we don't (yet) know how to read.
| * PR9959: improve tracepoint arg type-namingJosh Stone2009-03-181-14/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dwarf_type_name now works with more argument types. There were three cases that I needed to improve: - For "const struct foo*", the debuginfo has a const-DIE named "foo" chained to a struct-DIE named "foo", so we can't assume that seeing a name means we're down to the base type. The recursion now decends until it explicitly sees a base_type, typedef, struct, or union. - For "void*", the debuginfo has a pointer-DIE without any DW_AT_type after. Now I'm just catching that failed lookup and writing in "void". - For "va_list", the debuginfo actually resolves to an internal type "struct __va_list_tag*", but that struct has no declaration at the source level. I'm just hacking that exact case to say "va_list" instead, but it would be nice to find something cleaner... We'll probably still have problems if any tracepoint uses a function- pointer argument, but so far I've only seen that as a "void*", which we now handle ok.
| * Support tracepoints with no argumentsJosh Stone2009-03-181-0/+2
| | | | | | | | | | | | LTTng has a few tracepoints without any arguments, which caused our compile to fail, claiming that our entry function was not a declaration. This just adds an explicit (void) argument list for that case.
* | Only include man3stap pages if documentation built.William Cohen2009-03-191-1/+1
|/
* Adjust systemtap.spec to include the relocated man pages (PR980).William Cohen2009-03-181-1/+5
|
* Put man pages from tapset in 3stap (PR9870).William Cohen2009-03-185-8/+11
|
* Make manpager.sh executable.William Cohen2009-03-181-0/+0
|
* Fix for spinlock bad magic error with itrace probe pointMaynard Johnson2009-03-181-6/+2
|
* Don't mutex_unlock in __stp_tf_get_vma_map_entry_internal.Mark Wielaard2009-03-181-1/+0
| | | | | | | | | All callers of __stp_tf_get_vma_map_entry_internal lock and unlock the mutex correctly themselves in all cases. This unlock would trigger a double unlock. * runtime/task_finder_vma.c (__stp_tf_get_vma_map_entry_internal): Don't mutex_unlock(&__stp_tf_vma_mutex).
* minor editddomingo2009-03-181-2/+1
|
* minor editsddomingo2009-03-181-8/+7
|
* final copy, for reviewddomingo2009-03-181-56/+46
|
* Replace systemtap.samples/ioblocktest.stp with ioblktime.stp.William Cohen2009-03-178-23/+74
|
* Improve static_uprobes.expStan Cox2009-03-171-12/+6
| | | | * systemtap.base/static_uprobes.exp: Compile with -x c++. Test .probes absence.