summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move _stp_tf_vm_cb to sym.c.Mark Wielaard2009-03-202-41/+34
| | | | | | * tapsets.cxx (utrace_derived_probe_group::emit_module_decls): Remove output task finder vma callback _stp_tf_vm_cb. * runtime/sym.c (_stp_tf_vm_cb): And add it here.
* Don't double include task_finder.c.Mark Wielaard2009-03-201-1/+0
| | | | | * tapsets.cxx (itrace_derived_probe_group::emit_module_decls): Don't emit another include task_finder.c. Already done through runtime.h.
* Merge branch 'master' into pr6866Mark Wielaard2009-03-2018-79/+187
|\
| * 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
| |
* | Remove __stp_tf_vm_cb from task_finder interface.Mark Wielaard2009-03-192-36/+43
| | | | | | | | | | | | * runtime/task_finder.c (__stp_tf_vm_cb): Removed. * tapsets.cxx (utrace_derived_probe_group::emit_module_decls): Output task finder vma callback and hook it.
* | Initialize user and vm_start before use.Mark Wielaard2009-03-191-3/+2
| | | | | | | | * runtime/sym.c (_stp_mod_sec_lookup): Initialize user and vm_start.
* | Get rid of __stp_tf_get_vma_entry_addr function.Mark Wielaard2009-03-192-43/+25
| | | | | | | | | | | | | | | | * runtime/task_finder_vma.c (__stp_tf_get_vma_entry_addr): Deleted. (struct __stp_tf_vma_entry): Replace module by user void* field. (stap_add_vma_map_info): Take a void *user arg. (stap_find_vma_map_info): Take a void **user arg. * runtime/sym.c (_stp_mod_sec_lookup): Use stap_find_vma_map_info.
* | Replace mutex in task_finder_vma with rwlock to be interrupt context safe.Mark Wielaard2009-03-181-31/+51
| | | | | | | | | | * runtime/task_finder_vma.c: Replace all mutex calls with appropriate read or write (un)lock calls.
* | Merge branch 'master' into pr6866Mark Wielaard2009-03-1812-102/+134
|\|
| * 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.
* | Make stap_run send_log of command to execute.Mark Wielaard2009-03-181-0/+1
| | | | | | | | * testsuite/lib/stap_run.exp (tap_run): Add send_log of cmd.
* | Merge branch 'master' into pr6866Mark Wielaard2009-03-17154-2000/+12939
|\| | | | | | | | | Resolved conflicts: runtime/task_finder.c: name vs path.
| * 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
| | |