summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't try to parallel install partial build-elfutils build in lib-elfutils.Mark Wielaard2010-02-1613-2663/+4845
| | | | | | | | | | | | | | | | | | | The parallel install into lib-elfutils during the build seems to be fragile, so explicitly install the libs with -j1. * Makefile.am (stamp-elfutils): Add -j1 in for dir loop sub make. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * compile: Likewise. * config.in: Likewise. * configure: Likewise. * doc/Makefile.in: Likewise. * doc/SystemTap_Tapset_Reference/Makefile.in: Likewise. * doc/beginners/Makefile.in: Likewise. * grapher/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. * testsuite/aclocal.m4: Likewise. * testsuite/configure: Likewise.
* Add documentation for task.stp tapset.Mark Wielaard2010-02-152-34/+105
|
* elaborate.cxx: Point to the location of the error when rejectingDave Brolley2010-02-151-1/+2
| | | | probe points.
* Don't pass client-only options to the server.Dave Brolley2010-02-151-6/+12
| | | | Also correct parsing of the --server option.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2010-02-1516-84/+252
|\
| * PR11281 Allow negative values for -D argument.Mark Wielaard2010-02-141-1/+1
| | | | | | | | | | | | | | Change regexp match to "^[a-z_][a-z_0-9]*(=-?[a-z_0-9]+)?$". * main.cxx (main): case 'D' allow optional single minus sign after equal in assert_regexp_match().
| * Test for sendfile syscall can handle non-socket fds now.Mark Wielaard2010-02-131-4/+4
| | | | | | | | | | | | | | | | Since 2.6.33 sendfile can handle non-socket fds, so make the test handle both success and failure. * testsuite/systemtap.syscall/sendfile.c (main): Make buffer 22 bytes, since 22 == EINVAL, test for 22 bytes send or -22 failure.
| * PR11105 part 2a, fix buggy \\. in -r option regexpFrank Ch. Eigler2010-02-121-1/+1
| |
| * PR11105 part 2: tighten constraints on stap-server parameters passed to makeFrank Ch. Eigler2010-02-126-56/+101
| | | | | | | | | | | | | | * util.h, util.cxx (assert_match_regexp): New function. * main.cxx (main): Constrain -R, -r, -a, -D, -S, -q, -B flags. * stap-serverd (listen): Harden stap-server-connect with ulimit/loop. * testsuite/systemtap.server/{client,server}_args.exp: Revised.
| * Add simple test for PR10257 (sprint(@hist_linear)).Przemysław Pawełczyk2010-02-112-0/+18
| | | | | | | | | | | | | | | | | | | | Test is simple, because print and sprint uses the same code for handling @hist_* and it is not intended for playing with MAXSTRINGLEN, which is required anyway for bigger histograms (the one generated here consists of only 127 characters). When PR10690 (need way to produce bigger procfs output) will be fixed, then we should add another test for both PRs with normal histogram.
| * Fixed PR 11270 by adding nd_syscall testcase.David Smith2010-02-104-2/+99
| | | | | | | | | | | | | | | | | | | | * testsuite/systemtap.syscall/test.tcl: Now uses global variable 'test_script' to find test script to run. * testsuite/systemtap.syscall/syscall.exp: Sets test_script. * testsuite/systemtap.syscall/nd_sys.stp: New test script. Copy of sys.stp, but uses nd_syscall probes. * testsuite/systemtap.syscall/nd_syscall.exp: New testcase. Copy of syscall.exp, but uses nd_sys.stp test script.
| * Merge branch 'master' of ssh://sourceware.org/git/systemtapStan Cox2010-02-091-5/+3
| |\
| | * rhbz#563114 Make syscall.pipe sys32_pipe probe alias optional on x86_64.Mark Wielaard2010-02-091-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some distributions might have backported the pipe fd leak patch and removed the sys32_pipe kernel function even before 2.6.32. So make the probe alias optional instead of relying on a version check. * tapset/x86_64/syscalls.stp (syscall.pipe): Make alias optional. (syscall.pipe.return): Likewise.
| * | Fix tcl.exp initialization bugStan Cox2010-02-091-0/+1
| |/ | | | | | | tcl.exp: Initialize xok
| * Fixed BZ559643 by doing 'spawn;expect;wait' instead of 'spawn;wait;expect'.David Smith2010-02-081-17/+26
| | | | | | | | | | | | * testsuite/systemtap.base/labels.exp: Corrected order of 'spawn;expect;wait' calls. Added 'wait' calls when needed. Also, doesn't run the "labels exe .label" test if uprobes isn't supported.
* | Rework identification of probes allowed for unprivileged users.Dave Brolley2010-02-1517-96/+205
|/ | | | | | | - Bind unprivileged permission at probe registration time. - Remove check_unprivileged filter from derived_probe_builder and its children. - Add test suites for unprivilegedok and unprivilegedko.
* Define empty function for tcpmib testWenji Huang2010-02-081-0/+8
|
* Fix test case tcpmib-all-probes.stpWenji Huang2010-02-081-6/+1
|
* undocumented, obfuscated, *evil* option to suppress -Werror during module ↵Przemysław Pawełczyk2010-02-063-4/+17
| | | | | | | | building * session.h (omit_werror): New flag. * buildrun.cxx (compile_pass): Use it. * main.cxx (main): Set it.
* Added backports required for 2.6.18 kernel for RHEL 5.David J. Wilder2010-02-054-25/+89
| | | | | | | Files changed: tapset/ipmib.stp, tapset.tcpmib.stp, testsuite/systemtap.examples/network/tcpipstat.stp, testsuite/systemtap.examples/network/tcp_trace.stp Signed-of-by: David Wilder <dwilder@us.ibm.com>
* Use SYSTEMTAP_INCLUDES for systemtap.apps tests.Stan Cox2010-02-052-2/+2
| | | | | * mysql.exp: Use SYSTEM_INCLUDES. * postgres.exp: Likewise.
* PR11256: harden --unprivileged modeFrank Ch. Eigler2010-02-053-26/+17
| | | | | | | | * tapsets-mark.cxx, tapsets.cxx: Don't even publish probe point families that are inappropriate for use in --unprivileged mode. (dwarf_derived_probe_*unprivileged*): Remove, to default to blanket no-permission rather than emit_process_owner_permission mode. * testsuite/semko/fortyeight.stp: New test.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2010-02-0513-353/+814
|\
| * excise obsolete description of process-capabilities usage in staprunFrank Ch. Eigler2010-02-051-23/+7
| |
| * pfiles.stp sample: begin tcp option dumpingFrank Ch. Eigler2010-02-051-15/+18
| |
| * PR11234: Rewrite __get_argv without embedded-CJosh Stone2010-02-041-115/+44
| | | | | | | | | | | | We now implement __get_argv's string building in pure stap script. Also, every argument is now quoted, which is different than before, but it's much more robust about handling special characters.
| * Revert "PR11234: Ensure __get_argv doesn't overflow"Josh Stone2010-02-043-82/+11
| | | | | | | | This reverts commit f75409719f120a3dbee66d761cf23a64092d1414.
| * Regenerate autotools filesJosh Stone2010-02-042-90/+78
| |
| * Do not check stuff required by server if disabled.Przemyslaw Pawelczyk2010-02-041-29/+31
| | | | | | | | | | | | | | | | | | | | | | | | Building systemtap package using dpkg-buildpackage under scratchbox yields following error during configure: checking for /usr/include/nss3... configure: error: cannot check for file existence when cross compiling even if --disable-server is provided. Fix it. * configure.ac: Check for server-related stuff iff enable_server != no.
| * new sample: pfilesEugene Teo2010-02-046-25/+651
| |
* | Refer to the home directory of the 'stap-server' user as ~stap-server.Dave Brolley2010-02-051-4/+4
|/
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2010-02-0420-97/+577
|\
| * Fixed PR 11078. Changed code to avoided procfs race condition.David Smith2010-02-033-68/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/procfs.c: Allow STP_MAX_PROCFS_FILES define to be overridden. (_stp_create_procfs): Calls proc_create() instead of create_proc_entry() to avoid a race condition. * runtime/procfs-probes.c: New file containing procfs probe support routines. * tapset-procfs.cxx (procfs_derived_probe::join_group): Update struct _stp_procfs_data definition. (procfs_derived_probe::emit_module_decls): Include procfs-probes.c, which is where the definition of struct stap_procfs_probe exists. Update generated routines to read/write procfs data. (procfs_derived_probe_group::emit_module_init): Pass file_operations argument to _stp_create_procfs(). Initialize mutex. (procfs_var_expanding_visitor::visit_target_symbol): Update generated code.
| * PR9931: generate log to help diagnosing occasional cache hash collisionsWenji Huang2010-02-033-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ideas from Frank Ch. Eigler: - extending the hash.add() function to pass names along with the hash-mix values, so that class hash can internally track the hash-report string - storing the reports themselves in the cache, beside the .ko / .c files, and changing the cache-size-limit logic to delete these .txt files upon garbage collection * hash.h : New member parm_stream. * hash.cxx (get_parms): New function to convert parms stream to string. (hash::add): Aggregrate parms stream. (create_hash_log): New function to log hash operation. (find_*_hash): Log hash at the end of function. * cache.cxx (clean_cache): Remove log when cache reaches limitation.
| * Fix procfs_write.exp so that it will pass under RHELl5.David Smith2010-02-022-2/+6
| | | | | | | | | | | | | | * testsuite/systemtap.base/procfs_write.exp: Small changes for RHEL5 support. * testsuite/lib/stap_run.exp (stap_run): Increase maximum number of characters to match against.
| * Merge branch 'master' of ssh://sources.redhat.com/git/systemtapWilliam Cohen2010-02-025-28/+60
| |\
| | * rhbz 560890: preserve -L/-l variable orderingNobuhiro Tachino2010-02-024-27/+57
| | | | | | | | | | | | | | | | | | Switch to list<string> from set<string> for collecting available $var lists. Use O(N**2) list-uniqueifier that preserves initial ordering.
| * | Add nfs_func_log example.William Cohen2010-02-024-0/+24
| | |
| * | Add nfs_func_users example.William Cohen2010-02-026-0/+70
| | |
| * | Add iodevstats.stp exampleWilliam Cohen2010-02-026-0/+97
| | |
* | | Compile server logging and robustness.Dave Brolley2010-02-023-26/+40
| |/ |/| | | | | | | | | Log certificate location and status when starting server. Additional care in handling arguments in stap-serverd. New test case discovered by fuzzing added and fixed.
* | Support building against elfutils < 0.142 again.Mark Wielaard2010-02-021-1/+3
|/ | | | * dwflpp.cxx (get_cfa_ops): Guard new cfi related code and variables.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2010-02-0233-68/+839
|\
| * buildok test doesn't need /usr/bin/envMark Wielaard2010-02-021-1/+1
| | | | | | | | * testsuite/buildok/hwbkpt.stp: Just use stap directly after #!.
| * Make sure cfa_ops are always retrieved through dwfl global address.Mark Wielaard2010-02-025-22/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dwflpp::translate_location() works on the dw address space, but get_cfa_ops() starts out with dwfl calls (only dwarf_cfi_addrframe() needs to be adjusted for bias). * dwflpp.cxx (translate_location): Pass pc plus module bias through to get_cfa_ops. (get_cfa_ops): Adjust for bias when calling dwarf_cfi_addrframe(), add frame start/end address when found if verbose logging. * testsuite/systemtap.exelib/lib.stp: Add $foo and $bar variables to process.function probes. * testsuite/systemtap.exelib/libmarkunamestack.stp: Likewise. * testsuite/systemtap.exelib/lib.tcl: Expect correct values for process.function probe variables. * testsuite/systemtap.exelib/libmarkunamestack.tcl: Likewise.
| * Remove unused variable argstreamWenji Huang2010-02-021-1/+0
| |
| * regen sample indexesFrank Ch. Eigler2010-02-014-0/+24
| |
| * new sample for sandeen@redhat.com: fntimes.stpFrank Ch. Eigler2010-02-012-0/+36
| |
| * Fix a incorrect UNKNOWN VALUE message creation in _sock_type_str functionPetr Muller2010-02-011-1/+1
| |
| * Make hwbkpt.stp compitable with old kernel and exectuableWenji Huang2010-02-011-3/+13
| | | | | | | | | | * testsuite/buildok/hwbkpt.stp: Switch by CONFIG_* and be executable.