summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * PR11105: remove extraneous \n from localized foo.stp script file nameFrank Ch. Eigler2010-01-151-1/+1
| |
| * testsuite: fix wording of invalid-entry test groupFrank Ch. Eigler2010-01-151-2/+2
| |
| * PR11105: Remove stap-server-request shell script.Frank Ch. Eigler2010-01-153-514/+2
| | | | | | | | * Makefile.am: Don't install it any more.
| * PR11105: robustify stap-serverFrank Ch. Eigler2010-01-153-100/+415
| | | | | | | | | | | | | | | | | | | | | | * main.cxx (main): Always downgrade client-provided -p5 to -p4. * stap-client (unpack_response): Sanitize stdout due to same. * stap-server-connect.c: Eliminate a bunch of globals. (handle_connection): Make things locals instead. Base tmp files on $TMPDIR. (spawn_and_wait): New helper function. (handleRequest): New monster function to inline rest of old stap-server-request.
| * server: log controlling pidFrank Ch. Eigler2010-01-151-0/+2
| | | | | | | | * stap-serverd (initialization): Log startup pid.
| * runtime: better staprun diagnostics for failed signature testsFrank Ch. Eigler2010-01-151-2/+8
| | | | | | | | * modverify.c (verify_module): Print some messages for verbose > 1.
| * PR11105: stap-client wire protocol changeDave Brolley2010-01-151-114/+99
| |
| * Improve stack printing formatWenji Huang2010-01-151-1/+2
| | | | | | | | * runtime/stack.c (_stp_stack_print_tsk): Use _stp_symbol_print.
| * PR11151: Recover stap_uprobes slots on process exitJosh Stone2010-01-143-0/+17
| | | | | | | | | | | | | | | | | | | | When a process exits, it won't necessarily bother to munmap all of its shared libraries. This patch makes sure that with uprobes in libraries, we still grab an exit notification and clear everything out. * runtime/uprobes-common.c (stap_uprobe_process_munmap): New. * tapsets.cxx (uprobe_derived_probe_group::emit_module_decls): Use above callback so that we can recover our resources on process exit.
* | Package command line arguments in separate files.Dave Brolley2010-01-151-102/+92
|/
* Allow / as a random argyment character when fuzzing.Dave Brolley2010-01-141-1/+1
|
* PR10467 cont'd: be tolerant of bad line numbersJosh Stone2010-01-141-5/+2
| | | | | | | | | If a line number is invalid for a source file, that should not be a fatal error, as it may still be valid for some other matching source file. * dwflpp.cxx (dwflpp::iterate_over_srcfile_lines): Don't assert that the line must be found, just break out quietly.
* Fixed rawhide syscall testsuite problem.David Smith2010-01-141-2/+2
| | | | | * testsuite/systemtap.syscall/net1.c (main): The 'bzero()' function has been deprecated on rawhide. Replaced with 'memset()'.
* Use gnu indentation style.Stan Cox2010-01-141-59/+66
|
* Fix rawhide compile problem.David Smith2010-01-141-1/+1
| | | | | * main.cxx (getmemusage): On rawhide systems, 'getpagesize()' has been deprecated. Substitute 'sysconf(_SC_PAGESIZE)'.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapWilliam Cohen2010-01-136-10/+65
|\
| * Use __access_process_vm_noflush for static user semaphore decrement.Stan Cox2010-01-133-5/+57
| | | | | | | | | | | | * access_process_vm (__access_process_vm_noflush): New * tapsets.cxx (uprobe_derived_probe_group::emit_module_exit): Use it. * translate.cxx (translate_pass): Declare it.
| * build fix: rhbz55060: stdlib.h vs sys/wait.h __WAIT_STATUS conflictsFrank Ch. Eigler2010-01-131-2/+2
| |
| * PR 11167 fixed by adding compat_sys_sigaction to the syscall.sigaction32 probe.David Smith2010-01-131-2/+4
| | | | | | | | | | | | * tapset/syscalls2.stp (syscall.sigaction32): Added kernel.function("compat_sys_sigaction"). (syscall.sigaction32.return): Ditto.
| * Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2010-01-134-35/+114
| |\
| * | Test newline characters as part of fuzzing argument strings.Dave Brolley2010-01-131-1/+2
| | |
* | | Move userspace probing boiler plate code in translator to runtime library.William Cohen2010-01-133-357/+336
| |/ |/|
* | Merge remote branch 'origin/master'Tim Moore2010-01-133-2/+55
|\|
| * Fix PR11160 by handling ppc syscall.sigaction32 correctly.David Smith2010-01-133-2/+55
| | | | | | | | | | | | | | | | | | | | * tapset/aux_syscalls.stp (_struct_old_sigaction32_u): New function. * tapset/syscalls2.stp (syscall.sigaction32): Uses new _struct_old_sigaction32() function to provide a human readable version of the sigaction argument. * testsuite/systemtap.syscall/test.tcl (run_one_test): Use additional C flags when pre-processing test files to better determine which tests are valid on which platforms.
* | map through uretprobe trampoline in an arbitrary taskTim Moore2010-01-134-35/+114
|/ | | | | | | | | * runtime/uprobes2/uprobes.c (uprobe_get_pc_task): new function (lookup_uretprobe): new helper function (uprobe_get_pc): use it * runtime/uprobes2/uprobes.h (uprobe_get_pc_task): declare * runtime/uprobes/uprobes.c : ditto * runtime/uprobes/uprobes.h : ditto
* Removed bogus task_finder error message.David Smith2010-01-131-1/+1
| | | | | * runtime/task_finder.c (__stp_utrace_attach): No longer prints bogus error message when utrace_barrier succeeds.
* Faulty conditionals are parse errors, not semantical errors.Mark Wielaard2010-01-131-0/+0
| | | | | | | | | The test was correct, the given construct should fail. But it fails because it is a parse error, not because it is a semantical error. So move into the right pass1-4 sub-directory. * testsuite/semko/conditional.stp: Moved to... * testsuite/parseko/conditional.stp: ... here.
* PR10493: autoconf for cpu_khzWenji Huang2010-01-132-7/+43
| | | | | | * buildrun.cxx (output_cpu_khz): New function to check cpu_khz. (compile_pass): Invoke function output_cpu_khz. * runtime/time.c : Use STAPCONF_CPU_KHZ.
* Fixed PR 11163 so that syscall.readv/syscall.writev puts fd in argstr for ppc.David Smith2010-01-122-21/+1
| | | | | | | | * tapset/syscalls2.stp (syscall.readv): Removed old ppc hack. (syscall.writev): Ditto. * tapset/nd_syscalls2.stp (nd_syscall.readv): Removed mention of old ppc hack. (nd_syscall.writev): Ditto.
* Add attach to live process tests.Stan Cox2010-01-121-30/+169
| | | | | | | * sdt_misc.exp (sdt_misc.c): New funcs loop_check, int_handler, alrm_handler. (sdt_misc.sdt): Add timer.ms (test attach to a running process): New. (test attach to a running process with .so markers): New.
* Fixed PR 11162 by removing extra 'buf_uaddr' assignment.David Smith2010-01-121-1/+0
| | | | | * tapset/syscalls2.stp (syscall.pwrite32): Remove extra 'buf_uaddr' assignment.
* tweak stap argument checkingFrank Ch. Eigler2010-01-121-38/+22
| | | | * main.cxx (checkOptions): Inline into main(), abeam other option checks.
* new sample script: overcommit failure monitorFrank Ch. Eigler2010-01-126-0/+45
|
* PR10747: check invalid preprocessor constructWenji Huang2010-01-122-2/+23
| | | | | * parse.cxx (scan_pp): Match '%(' and '%?'. * testsuite/semko/conditional.stp: New test.
* Add some additional test cases.Dave Brolley2010-01-111-0/+17
|
* Invalid casess can be tested for 'make check'.Dave Brolley2010-01-111-47/+49
|
* Rework filtering of client options. Add testsuite.Dave Brolley2010-01-114-67/+130
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2010-01-111-30/+37
|\
| * Added STP_MAXMEMORY documentation.David Smith2010-01-111-0/+7
| | | | | | | | * stap.1.in: Added STP_MAXMEMORY documentation.
| * Fix extra blank lines in man page output.David Smith2010-01-111-30/+30
| | | | | | | | * stap.1.in: Correct comment syntax to avoid outputting blank lines.
* | Filter options for unprivileged use after --stap-client is seen.Dave Brolley2010-01-112-1/+66
|/
* Add stack walking function for 2.6.33Wenji Huang2010-01-111-0/+14
| | | | | * runtime/stack.c (walk_context_stack): New function. (print_stack_ops): Add function pointer.
* Pull set of semaphore into its own function.Stan Cox2010-01-106-72/+119
| | | | | | | | | | | | | | * tapsets.cxx (uprobe_derived_probe_group::emit_module_decls): Move sdt_sem_address from standalone to stap_uprobes. Remove sdt_sem_tid. In emitted function stap_uprobe_change_plus distinguish VM_EXEC/VM_WRITE cases, use sdt_sem_address member, move setting of semaphores to new emitted function stap_uprobe_change_semaphore_plus. (stap_uprobe_process_found): Call stap_uprobe_change_semaphore_plus. (stap_uprobe_mmap_found): Likewise. * stap-postgres.stp (postgresrelease): New. Sync to current upstream version. * stap-tcl.sh: Check if wget failed. * stap-tcl.stp: Check for skipped probes. * xulrunner.exp: Check if wget failed.
* tracepoints build fixFrank Ch. Eigler2010-01-091-0/+3
| | | | | | | | * tapsets.cxx (emit_module_decls): #undef TRACE_INCLUDE_FILE in front of each #include'd trace/event header, to prevent macro redefinition. (init_dw): Respect pending_interrupts in traceprobe module compilation loop.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2010-01-081-14/+30
|\
| * Fixed PR 11148 by reworking transport directory locks.David Smith2010-01-081-14/+30
| | | | | | | | | | | | | | | | | | | | * runtime/transport/transport.c (_stp_get_root_dir): No longer locks/unlocks the transport directory. (_stp_remove_root_dir): Ditto. (_stp_transport_fs_init): Locks and unlocks the transport directory. Ensures that the root directory can't be deleted between calling _stp_get_root_dir() and creating the module dir. (_stp_transport_fs_close): Locks and unlocks the transport directory.
* | New test suite for client/server argument handling.Dave Brolley2010-01-081-0/+169
|/
* Move PKGLIBDIR variable set to testsuite/Makefile.am for self-contained tests.William Cohen2010-01-085-5/+5
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2010-01-071-2/+3
|\
| * Make sure testcase debug output is correct.David Smith2010-01-071-2/+3
| | | | | | | | | | * testsuite/systemtap.base/sdt_misc.exp: Make sure debug output of what we're about to execute actually matches what we're about to execute.