summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context
Commit message (Collapse)AuthorAgeFilesLines
* Fix arguments to mktemp with less than 6 X'sEugeniy Meshcheryakov2009-05-051-1/+1
|
* Add comment to try -d kernel -d systemtap_test_module1 on backtrace.tcl test.Mark Wielaard2009-04-201-0/+1
|
* 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
|
* Merge branch 'master' into pr6866Mark Wielaard2009-04-015-4/+5
|\
| * testsuite/systemtap.context/*.tcl: Don't wait 4 whole minutes for timeout.Mark Wielaard2009-04-014-4/+4
| |
| * context.exp: log which subtest is being sourced.Mark Wielaard2009-04-011-0/+1
| |
* | 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.
* | Merge branch 'master' into pr6866Mark Wielaard2009-02-202-0/+25
|\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog: Removed runtime/ChangeLog: Removed runtime/sym.c: Merged runtime/task_finder.c: Merged tapset/ChangeLog: Removed testsuite/ChangeLog: Removed
| * Move symbols.exp and symbols.stp to systemtap.context directory.William Cohen2009-02-062-0/+25
| |
* | Merge branch 'master' into pr6866.Mark Wielaard2009-01-231-1/+1
|\|
| * PR9699: correct tcl syntax in test caseFrank Ch. Eigler2009-01-061-1/+1
| |
* | Compile and use helper usymbols_lib.c library for usymbols.exp test.Mark Wielaard2008-12-153-30/+67
| |
* | PR6866: First pass at translating addresses to symbol names through vma.Mark Wielaard2008-12-102-0/+110
|/
* Add [u_]register() and *_arg() support for s390x.Jim Keniston2008-11-191-0/+1
|
* Improved error handling of num_args.tcl testcase.David Smith2008-11-121-1/+4
| | | | | | | 2008-11-12 David Smith <dsmith@redhat.com> * systemtap.context/num_args.tcl: Improved error handling of testcase.
* Enable and update numeric-arg tests.Jim Keniston2008-06-102-15/+19
|
* Added systemtap.context/num_args test.Jim Keniston2008-06-042-0/+111
|
* PR6429: testsuite update for inexact backtrace toleranceFrank Ch. Eigler2008-06-031-17/+17
|
* Revert "testsuite: use catch{close}catch{wait} to ensure child process ↵Frank Ch. Eigler2008-05-283-3/+7
| | | | | | pipe/zombie cleanup" This reverts commit 7938bd829dfd82c40b35d536b5913e666c1454d2.
* testsuite: use catch{close}catch{wait} to ensure child process pipe/zombie ↵Frank Ch. Eigler2008-05-273-7/+3
| | | | cleanup
* kretprobe trampoline fixesMartin Hunt2008-03-282-67/+83
| | | | | Recognize when a kretprobe trampoline was hit and continue with inexact stack dump. Also some testsuite changes.
* PR5770: false systemtap/eof/timeout messages in testsuite.logfche2008-02-233-3/+3
| | | | | | | 2008-02-23 Frank Ch. Eigler <fche@elastic.org> * */*.exp: Change all "send \003" to "exec kill -INT -<pgrp>" in order to more reliably kill an inferior stap/stapio/staprun process group.
* 2008-02-12 Frank Ch. Eigler <fche@elastic.org>fche2008-02-135-7/+24
| | | | | | | | * systemtap.context/context.exp: Build temporary modules under build tree, to tolerate read-only source trees. * {args,backtrace,pid}.tcl: Corresponding changes. * systemtap_test_module2.c: Add a bunch of asm("")'s to prevent inlining even better than noinline does.
* 2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-02-062-4/+10
| | | | | | | | | | | | * stack-ia64.c (__stp_show_stack_sym): Skip printing symbol if (ip == REG_IP(regs)). 2008-02-06 Masami Hiramatsu <mhiramat@redhat.com> * systemtap.context/backtrace.tcl: Fixed regular expressions and Added new expression for return probe on ia64. * systemtap.context/backtrace.stp(print_all_trace_info): Added trace point output before calling print_stack().
* 2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-02-061-2/+1
| | | | | | | | | | | * systemtap.base/procfs.exp: Added PROCFS.ko cleanup. * systemtap.context/context.exp: Added cleanup call. * systemtap.printf/end1b.exp: Passed evaluated command string to as_root. * systemtap.printf/mixed_outb.exp: Ditto. * systemtap.printf/out1b.exp: Ditto. * systemtap.printf/out2b.exp: Ditto. * systemtap.printf/out3b.exp: Ditto.
* 2008-01-07 William Cohen <wcohen@redhat.com>wcohen2008-01-071-4/+5
| | | | | | | | | | * testsuite/lib/systemtap.exp (as_root): new proc. * testsuite/systemtap.context/context.exp: * testsuite/systemtap.printf/end1b.exp: * testsuite/systemtap.printf/mixed_outb.exp: * testsuite/systemtap.printf/out1b.exp: * testsuite/systemtap.printf/out2b.exp: * testsuite/systemtap.printf/out3b.exp: Use as_root proc.
* 2007-10-16 Martin Hunt <hunt@redhat.com>hunt2007-10-171-3/+3
| | | | | | | | | | | | | | | | | | PR 5000 * systemtap.printf/bin3.stp. Removed. * systemtap.printf/bin3a.stp. Renamed bin3.stp. * systemtap.printf/bin4.stp. Removed. * systemtap.printf/bin4a.stp. Renamed bin4.stp. * systemtap.printf/bin5.stp. Removed. * systemtap.printf/bin5a.stp. Renamed bin5.stp. * systemtap.printf/bin3.exp: Don't run bin3a.stp. * systemtap.printf/bin4.exp: Don't run bin4a.stp. * systemtap.printf/bin5.exp: Don't run bin5a.stp. Increase reliability under loads. * systemtap.samples/pfaults.exp: Increase MAXACTION. * systemtap.context/backtrace.tcl: Handle just a single userspace address.
* 2007-09-25 Martin Hunt <hunt@redhat.com>hunt2007-09-251-2/+2
| | | | | * systemtap.context/backtrace.tcl: Handle single line timer.profile backtraces.
* 2007-09-12 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-09-123-9/+108
| | | | | | | | PR 4633 * systemtap.context/backtrace.stp: Add testcases for the return probe and the profile probe. * systemtap.context/backtrace.tcl: Ditto. * /systemtap.context/systemtap_test_module2.c: Ditto.
* 2007-08-27 Martin Hunt <hunt@redhat.com>hunt2007-08-271-1/+1
| | | | | * systemtap.context/context.exp (build_modules): Change build order to prevent messages about no version for yyy_int64.
* 2007-07-10 Martin Hunt <hunt@localhost.localdomain>hunt2007-07-111-2/+2
| | | | | * systemtap.context/context.exp: Copy modules to /lib/modules/`uname -r`/kernel for debug info.
* 2007-07-10 Martin Hunt <hunt@redhat.com>hunt2007-07-101-1/+0
| | | | | * uid16.c (main): 16-bit syscalls now have the same name as 32-bit. Fix patterns.
* *** empty log message ***hunt2007-07-101-1/+1
|
* 2007-07-10 Martin Hunt <hunt@redhat.com>hunt2007-07-101-2/+4
| | | | | * systemtap.context/pid.tcl: Don't try to get real ppid, just match pattern.
* 2007-07-09 Martin Hunt <hunt@redhat.com>hunt2007-07-091-2/+2
| | | | | * systemtap.context/systemtap_test_module1.c (stm_write_cmd): Set pointer type to "char *" so get_user() fetches a char.
* 2007-07-03 Martin Hunt <hunt@redhat.com>hunt2007-07-034-50/+54
| | | | | | * systemtap.context/pid.tcl: Better error reporting. * systemtap.context/args.*: Ditto. * systemtap.context/context.exp: Build in temp dir.
* 2007-07-02 Martin Hunt <hunt@redhat.com>hunt2007-07-023-1/+70
| | | | | * systemtap.context/context.exp: Add pid tests. * systemtap.context/pid.*: New tests.
* *** empty log message ***hunt2007-07-021-1/+0
|
* 2007-07-02 Martin Hunt <hunt@redhat.com>hunt2007-07-029-0/+430
* systemtap.context/*: New context tests.