summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Get the canonical path of the main file for comparison at runtime.Mark Wielaard2009-03-173-1/+11
| | | | | | | | | When given directly by the user through -d or in case of the kernel name and path might differ. path should be used for matching. * runtime/sym.h (_stp_module): Add path field. * runtime/task_finder.c (__stp_tf_vm_cb): Use module path to compare vm_path. * translate.cxx (dump_unwindsyms): Output canonical path.
* Remove trailing 'g' from scsi.stp file.Mark Wielaard2009-03-171-1/+0
| | | | * tapset/scsi.stp: Remove 'g' at end of file.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapddomingo2009-03-175-10/+42
|\
| * Add pid-based data lookup function.Wenji Huang2009-03-163-1/+29
| | | | | | | | Two functions pid2task and pid2execname.
| * PR9951: Prevent GCC warnings in deref()Josh Stone2009-03-161-6/+5
| | | | | | | | | | | | | | | | | | In some configurations, GCC was warning about a possible use of _v in the deref macros. I could not reproduce the error, but the only case where _v is not written is if lookup_bad_addr rejects the address, in which case we will hit DEREF_FAULT and _v won't be used. Now we're priming _v=0 anyway, so GCC has no right to complain...
| * Fix regression in tracepoint unregistrationJosh Stone2009-03-161-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | Commit 96b030fe reorganized the tracepoint registration calls by creating generic wrappers that return int. However, the older tracepoint implementation (as found in RHEL5.3) returned void for unreg, so this was failing pass-4. Since we can't handle unregistration failures anyway, this change just makes the generic unregister function return void instead. As noted in the newly-added comment, it should be safe for us to ignore unreg failures.
* | minor editsddomingo2009-03-171-38/+32
| |
* | working copy, still existing issues with Description headers, will work on ↵ddomingo2009-03-171-9/+11
| | | | | | | | it tom
* | minor editsddomingo2009-03-171-1/+1
| |
* | minor editsddomingo2009-03-176-21/+20
| |
* | working copyddomingo2009-03-171-1/+9
| |
* | further cleanup for formattingddomingo2009-03-171-4/+4
| |
* | further cleanup for formattingddomingo2009-03-171-21/+21
| |
* | minor editsddomingo2009-03-171-48/+22
| |
* | minor editsddomingo2009-03-171-1/+1
| |
* | almost done, output clean, just a few more improvementsddomingo2009-03-171-44/+62
|/
* Edit signal.stp documentation comments.William Cohen2009-03-161-69/+105
|
* Add workaround for dwfl_module_build_id bug with elfutils < 0.140.Mark Wielaard2009-03-161-7/+25
| | | | | * translate.cxx (dump_unwindsyms): Check elfutils version and whether build_id_vaddr < base, and if so add main_bias to address.
* almost done, script generates man pages of stapprobes based on what we add ↵ddomingo2009-03-161-0/+103
| | | | to Tapset_Reference_Guide
* minor edits to ensure uniformity in manpage generatorddomingo2009-03-161-4/+4
|
* minor editddomingo2009-03-161-4/+3
|
* minor editsddomingo2009-03-161-6/+6
|
* fixed format of non-grabbable comments (for Tapset Reference Guide), added ↵ddomingo2009-03-161-6/+8
| | | | tapsetdescription for man page generator (in development)