summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context/usymbols.exp
Commit message (Collapse)AuthorAgeFilesLines
* Create usymname and usymdata variant that trigger STP_NEED_VMA_TRACKER.Mark Wielaard2009-04-071-3/+2
| | | | | | | | | * tapset/context-symbols.stp (syname, symdata): Pass NULL for kernel address. * tapset/ucontext-symbols.stp: New file defining usymname and usymdata. * testsuite/systemtap.context/usymbols.exp: Use usymname, remove STP_NEED_VMA_TRACKER hack. * testsuite/buildok/usymdata.stp: New test. * testsuite/buildok/usymname.stp: Likewise.
* PR6580: Implement symname, symdata and modname context functions.Mark Wielaard2009-04-021-1/+1
| | | | | | | | | | | | | | | | | | This adds a couple of the suggested context/stack revamp functions from PR6580. In particular it replaces the symbolname() function that sneaked in with the pr6866 branch merge with the suggested symname(). * runtime/sym.c (_stp_mod_sec_lookup): Make section optional. (_stp_symbol_snprint): Provide a way to get optional module info. * tapset/context-symbols.stp: Replace symbolname() with symname(), add modname() and symdata(). (probemod): Implement pc based fallback. * tapset/context-unwind.stp (caller): Adjust for _stp_symbol_snprint change. * testsuite/systemtap.context/usymbols.exp: Use new symname. * testsuite/buildok/modname.stp: New test. * testsuite/buildok/symdata.stp: Likewise. * testsuite/buildok/symname.stp: Likewise.
* Check for utrace in usymbols.exp.Mark Wielaard2009-04-021-2/+3
|
* Wrap vma callbacks in STP_NEED_VMA_TRACKER.Mark Wielaard2009-04-011-1/+3
| | | | | | | | Will be defined by new ucontext symbol stapset. * tapset.cxx: Wrap all vma callbacks in STP_NEED_VMA_TRACKER. * testsuite/systemtap.context/usymbols.exp: Define STP_NEED_VMA_TRACKER explicitly for now.
* Emit vma callbacks for uprobes.Mark Wielaard2009-03-201-1/+2
| | | | | | | | * tapsets.cxx (uprobe_derived_probe_group::emit_module_decls): Emit vma callbacks. (uprobe_derived_probe_group::emit_module_init): Activate vma callbacks. * testsuite/systemtap.context/usymbols.exp: Track through uprobes, so as to make sure we have the symbols.
* Compile and use helper usymbols_lib.c library for usymbols.exp test.Mark Wielaard2008-12-151-15/+25
|
* PR6866: First pass at translating addresses to symbol names through vma.Mark Wielaard2008-12-101-0/+69