From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17159 invoked by alias); 1 Dec 2011 14:15:18 -0000 Received: (qmail 16967 invoked by uid 9156); 1 Dec 2011 14:15:14 -0000 Date: Thu, 01 Dec 2011 14:15:00 -0000 Message-ID: <20111201141514.16956.qmail@sourceware.org> From: dsmith@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, jistone/inode-uprobes, updated. release-1.6-535-g18ff6ce X-Git-Refname: refs/heads/jistone/inode-uprobes X-Git-Reftype: branch X-Git-Oldrev: 97a42d20ce7b552738881593c0de4b9ab2415dab X-Git-Newrev: 18ff6ce03d5ce96d093da9b9825400509dbd4ff8 Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2011-q4/txt/msg00177.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "systemtap: system-wide probe/trace tool". The branch, jistone/inode-uprobes has been updated via 18ff6ce03d5ce96d093da9b9825400509dbd4ff8 (commit) via af3e4f8792bc0842e2d321afa978f2ae20d64cba (commit) via 8bf9072636b6cecfb674303ef10f701b587975f1 (commit) via f026be3fc07aaa2afc975c851a55b7fbb8ec3aef (commit) via 7baf48e99c0b1e1a8b866880a154c4792258a1b6 (commit) via d3e959b02c9825d528fb101f2e0a85f1701b43a7 (commit) via 6ba4d29ca018effab70b9fdee856389407abc1fc (commit) via 9956de58c7fddfc8a856bf26f51beb10b320f261 (commit) via f677e0b81a6f8a3ea2060ed794a9336f73ca13f3 (commit) via 174c4d7484d74b00300b9d9bb1795199788b13fb (commit) via e2d98c60dcbb1dee319e9bd5c5fdc3a7198fd636 (commit) via 72dd064de16fe530bd16ba4622dcb16effbfc361 (commit) via 3a85fccd0f9a41e90fefeda0f114b19f5acd38ec (commit) via fd887931c038de645663d9b1e0dafed7519fc437 (commit) via 6e0c4524a4d731a35ba0c6813f3ec574c00a659b (commit) via 031b950f73a6317b31bf2c8f64b3658605e69485 (commit) via 3cd429bb5f0ed17957442f690728e127430d2527 (commit) via 8f52bebf5166ae613d227ed18529bebcd932e432 (commit) via 9957bbd2d7554e6cc04d0ebe0add5b382dba516d (commit) via 7721a4d6d29c5fbcd151a0995796cb1a4feabb32 (commit) via b6a3ff43a2d56ffab2bb7bf26c8dffc48d06aeeb (commit) via 5d88da2782aeb45ccf072deb8a58cf0082f69674 (commit) via 1048ca3b1577a9e73e489b7e40ad1b5d31e757f7 (commit) via bc0251a66ec57c726a13577b01cb61ec728e49f0 (commit) via f4d71a520d5e11b99430f4ec4079af1dcdd4de35 (commit) via 6e5026f423afca092d1562d6c1dc9a363d8d8b53 (commit) via bde342310dd6b1a7e247a0dc40089b25f045552a (commit) via 5137a7a990ef7bc27022654775ce0aa86e0e9942 (commit) via 9c910acd0eddfb8ed0df5ac1fd4569fca7e8e7c6 (commit) via 78be4756cbb64f38086f10a162ba62efaf0df22b (commit) via 3c6dd54efb6de5b4d55e073c8d5884440aece135 (commit) via 01a7cf86ed9d78093a71aa0fb7e007e2234284bd (commit) via 98ec0359c198960b4f7c6729250ca1eeed1c02f0 (commit) via fa2418539b4ac2cb1352948f68da08890cec7774 (commit) via c5c49511ceb2084f6489f07dbc754997f51fbf6d (commit) via f1e8e7e0a601d1378262ba69890ce3e7d4519ab5 (commit) via f24b4a2bc5000e5acb9984a3ef633f21aa622fd4 (commit) via a5ce5211df81cf8a02edc000e61c59d3cf74462f (commit) via 826d96f855d68539c86cffcaff9ccf4401262527 (commit) via 494582b7e4afc4e346c912667731335015d4483f (commit) via b4fe17a2aa98d26baf1c845f518dc84efae99fe8 (commit) via bb4470cacb3f7ce5161f9e8a1b7c37a87516a6c3 (commit) via f6be7c061559d319c4422ce5ad17e7ae5a0e405e (commit) via be898cc4485951b10e692932a49144b5a00deef1 (commit) via affd4ce918f96a5f223c74a8d19d730c75d51b1d (commit) via 5b3c32ed42930e9f91a1e23b4ec42abf51289b93 (commit) via 6a906629882a05f33fafd555236f00ad2dcc06b8 (commit) via e045bb076340720d2dfcd911f0d2b390893957db (commit) via 4efa8b21221bc8b89354b8e89e2a080a65bce5d1 (commit) via abc69babc74e1c10e1e59d421d4c7b9485982fd9 (commit) via f3ea0ef4fc75628d56f262277f6d127555cb6d84 (commit) via c0f710f9912b68456f6b197cf59678e54110e738 (commit) via 55352180f05e4ea5756d668202d3457645ad4d0e (commit) via 345974c00a58abd6c747d574f60dedc4756679d0 (commit) via adc4897a4336624303e5b8da760833942d52f360 (commit) via 744884cdca5bc8e310432f6857d7acce8e546dd2 (commit) via f4ec9309e70952a6fdf9e34552d26748f54c83d9 (commit) via ee59f1abfee2ac14f540c73334c9ca05e51e6a42 (commit) via 8c021542a44f77d886dca9050a0b8569b92924dc (commit) via df2323238f7b71fdd56f7ea54f94f560d4ec64f2 (commit) via 427a5a5c722fea98ef05e087934b4dbc1512ba93 (commit) via 5261f7ab82a4c5130e86d5ae3e3652515e7c92bc (commit) via 2db5adc1ea090630c2b87e1e8ce7b779f6e98639 (commit) via 2a253cde0b0949f6e9b45d6db346e9e9e66f65ee (commit) via 3b035c9b44dbc0d90e5ae33835d69554be993c0e (commit) via cb5f1ec4b19d12f425ba6420d00b9d27bc7c0f08 (commit) via 6b168eb2196eeaeab6373bd2efbb6545d444012f (commit) via 2d7232ca34eee7f244949fa4d05dcf039f558709 (commit) via c24eb00eb66774b3efb95a8a2829fd73f81fb433 (commit) via 8c6bb2894a95b9035e7469adf339fb6402749b0f (commit) via 8bbccfeefea70095b98398aae5f82c7cff8a2163 (commit) via 0113d4fe7970ec8b16d7b194d2d7aabc6f43dcf4 (commit) via 99174484d3cb80d8dca639dc5e129a7b8f16ec0a (commit) via 0f7b51d6c1e968c5183a165ff3fc102357bbfc08 (commit) via 9ce0a9e964d3dabad5d97cd423658dbb01827f15 (commit) via bcef5b714fa38769d087bd355b3e64aab43ac650 (commit) via 54d8fbd954b099dcc552b282ccc287444b1293ea (commit) via a08016f20f1d3b1ae3575007f4696ed9c90510d5 (commit) via 0e6235dfca0d4ac1846f244e3c18c6e6a94730ca (commit) via 06a01ec1fe11e412fa30b9e608a076a0a22e8655 (commit) via 665fbae24614d126750b2b6ce65c5a9a56dddf83 (commit) via 010d8671eb24fefad966fc7a2f37fe65dba0aaba (commit) via 0969973b53a299ab934777f8b526ca4ca655dd4d (commit) via c4a845516a6d08918fc76cde75c0378600fda8aa (commit) via d378bb5c39c180656be72f41dd674ca89c951708 (commit) via 830974abb77c911a25363e8594f1b291303735eb (commit) via 4975d15deb6acddd99b6033713f46ff2c1684e65 (commit) via b173179ed5af6b78b303fae08f133417f52c7c33 (commit) via 70bfc8dcbb9bf934b567c6dead9a3ddfde9a4ed0 (commit) via a302a0213aa51041275eaeb6f3263d931af267ec (commit) via db7dcdffc5687db14e44cb08896a173e60d8e3ac (commit) via 6d7287ac9e73d65401c2679e2531e37e0bf19ada (commit) via e3788742f276733de100bcef11940457ed36ea4a (commit) via 2382357622e1acd0c6488f647244be4daf91bcf8 (commit) via eb032788e69844946b62c75ab6389ae937b711f6 (commit) via 54e7e8f0122569091f780fc0f1acc1520b09f1c4 (commit) via 6ca28847b794e03744b3fc425a5f3e07d49154b4 (commit) via 40b8ed4d675c4b7cfd1f25499506e42795d0e38f (commit) via 5d22792f09defb6ca930611803e6b9ee197bfd0e (commit) via edab110ac822a53760c04e5e14d9e24d80af41ce (commit) via 7ba05f05fa2d5cc8b1f9b16a2c3e38e96c883c4f (commit) via b39e207e6e1170bcacf71229e722b75ce6e9ada5 (commit) via 8cfa05efc713d8f48c6f1e23b2688e9c8abc76ef (commit) via cbbafb9b2b2c4cb25bbd4cb19a41b7b4b50952ec (commit) via c278952ed0eabbe917d7544512377e3f060b3034 (commit) via e6969ff4ae319f1ddfc9bf7441ceee91701ec69a (commit) via deccd5236811c2655372e8d1c7fde73b52d13acd (commit) via d0afdcbf6bdab884f27f74e0ceb31f0c04b9203c (commit) via 580e803219cae2661570748e96a3b710bf651f0d (commit) via ea5e844ee6b3031c2b430e42e687ab00e6635dbd (commit) via f33510de4782d31cf07530b83f968090607540d2 (commit) via eb8e0555746eb7c55271960b51e2aa5ce9d2b073 (commit) via 9f73a70da9048c5b0ff3d8e7b323e9795f427cbb (commit) via 2a996c8bde10ec31dad781beb50d132acf936c5b (commit) from 97a42d20ce7b552738881593c0de4b9ab2415dab (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 18ff6ce03d5ce96d093da9b9825400509dbd4ff8 Merge: d3e959b af3e4f8 Author: David Smith Date: Thu Dec 1 08:14:31 2011 -0600 Merge branch 'master' into jistone/inode-uprobes commit af3e4f8792bc0842e2d321afa978f2ae20d64cba Author: Mark Wielaard Date: Thu Dec 1 12:05:35 2011 +0100 Document some new features and improvements since systemtap 1.6. task_backtrace removed, MAXBACKTRACE documented, new probe_type() function, unwind and symbol data only processed when really necesessary, kernel backtraces for non-pt_regs probe context (timer and tracepoints), ubacktrace() from kernel probe points, s390x user space support, ppc, s390x and arm dwarf unwinder support, arm uprobes port. commit 8bf9072636b6cecfb674303ef10f701b587975f1 Author: Frank Ch. Eigler Date: Wed Nov 30 19:58:54 2011 -0500 PR13306: test 'er commit f026be3fc07aaa2afc975c851a55b7fbb8ec3aef Author: Frank Ch. Eigler Date: Wed Nov 30 19:58:37 2011 -0500 PR13306: document new option commit 7baf48e99c0b1e1a8b866880a154c4792258a1b6 Author: Frank Ch. Eigler Date: Wed Nov 30 19:54:19 2011 -0500 PR13306: introduce stap --suppress-handler-errors option PR13306 asked for a way to skip handlers when probe alias prefixes fail. This implementation is a little bigger hammer, but believed to be more generally useful. * session.cxx: Initialize/copy/getopt new option. * session.h: Store it. * hash.cxx (find_script_hash): Mix it in. * tapsets.cxx (common_probe_entryfn_epilogue): Skip various MAXERRORS/MAXSKIPPED processing when flag is set. * tapset.h (common_probe_entryfn_epilogue): Drop middle default argument since it got confusing. Add new argument. * tapsets*.cxx (*::emit_module_decls): Update ..._epilogue callers. commit d3e959b02c9825d528fb101f2e0a85f1701b43a7 Merge: 97a42d2 6ba4d29 Author: David Smith Date: Wed Nov 30 15:48:01 2011 -0600 Merge branch 'master' into jistone/inode-uprobes commit 6ba4d29ca018effab70b9fdee856389407abc1fc Author: Frank Ch. Eigler Date: Wed Nov 30 10:01:37 2011 -0500 testsuite: more xfail->kfail transforms As per commit 174c4d74, use kfail for transient environmental problems as opposed to want-to-fail test cases. commit 9956de58c7fddfc8a856bf26f51beb10b320f261 Author: Mark Wielaard Date: Wed Nov 30 14:02:27 2011 +0100 nd_syscalls.stp: Probe sys_accept4 for kernel 2.6.28+. Since 2.6.28 sys_accept is chained through sys_accept4. Probe sys_accept4 only for newer kernels to not miss some accept syscalls. Don't probe both or we will get double hits. commit f677e0b81a6f8a3ea2060ed794a9336f73ca13f3 Author: Mark Wielaard Date: Wed Nov 30 11:42:12 2011 +0100 Add DWARF unwinder support for ARM. commit 174c4d7484d74b00300b9d9bb1795199788b13fb Author: Frank Ch. Eigler Date: Tue Nov 29 17:23:29 2011 -0500 testsuite: xfail->kfail buildok failures Use kfail to designate problems that represent unfixable issues such as compiler limitations (debuginfo missing from here or there). xfail is inappropriate, as we use this to designate failures we want to see, e.g., the detection of deliberate input errors. * lib/stap_buildok.exp: Removed, inlined back into * systemtap.pass1-4/buildok.exp: Pull switch code in here. Use kfail*. * systemtap.exelib/pthreadprobes.exp: Don't look at buildok_known_failures, which didn't have any pthread awareness anyway. commit e2d98c60dcbb1dee319e9bd5c5fdc3a7198fd636 Author: David Smith Date: Tue Nov 29 15:52:13 2011 -0600 Added individual tests for function.call and function.return probes. * testsuite/systemtap.base/uprobes.exp: Added sub-tests that check .call and .return probes individually. * testsuite/systemtap.base/uprobes_call.stp: New file. * testsuite/systemtap.base/uprobes_return.stp: New file. commit 72dd064de16fe530bd16ba4622dcb16effbfc361 Author: Frank Ch. Eigler Date: Tue Nov 29 16:29:09 2011 -0500 PR13458: laugh in the face of xslt Using a dozen-line xslt script, one can sort the generated tapsets.xml documentation's reference sections. Thank you interwebs: http://stackoverflow.com/questions/572854/how-to-sort-a-subelement-of-xml-with-xslt http://www.w3schools.com/xpath/xpath_syntax.asp commit 3a85fccd0f9a41e90fefeda0f114b19f5acd38ec Author: William Cohen Date: Tue Nov 29 15:38:11 2011 -0500 Mark buildok/memory-write_shared_copy.stp as KFAIL when it fails Kernels built with older versions of gcc do not have the needed argument information for inlined functions. vm.write_shared_copy probes inlined functions and suffers from PR1155 in this situation. This patch marks it as a KFAIL with a mention of PR1155 when it fails. commit fd887931c038de645663d9b1e0dafed7519fc437 Author: Mark Wielaard Date: Tue Nov 29 20:33:05 2011 +0100 nd_syscall.exp KFAIL PR13451, PR13452, PR13453, PR13454, PR13455 and PR13456 dup, eventfd, inotify, pipe, signalfd and poll are incomplete in nd_syscalls. commit 6e0c4524a4d731a35ba0c6813f3ec574c00a659b Author: Mark Wielaard Date: Tue Nov 29 18:07:16 2011 +0100 PR13420 cast-scope.exp: kfail all non-optimized test cases. On powerpc both -m32 and -m64 unoptimized fail because of PR13420. Better to accidentially KPASS on some arches than have XFAILS on some others. commit 031b950f73a6317b31bf2c8f64b3658605e69485 Author: Mark Wielaard Date: Tue Nov 29 17:53:35 2011 +0100 Make cast-scope testcase more robust. Prevent line-reordening. Setting a statement line probe is somewhat fragile since different GCCs output different line tables. Make sure that there is a known single statement line in the testcase to probe. commit 3cd429bb5f0ed17957442f690728e127430d2527 Author: Mark Wielaard Date: Tue Nov 29 13:23:02 2011 +0100 PR10739 kfail all backtrace.exp tests on non-x86 architectures. commit 8f52bebf5166ae613d227ed18529bebcd932e432 Merge: 9957bbd 7721a4d Author: Mark Wielaard Date: Tue Nov 29 13:03:07 2011 +0100 Merge branch 'master' of ssh://sourceware.org/git/systemtap commit 9957bbd2d7554e6cc04d0ebe0add5b382dba516d Author: Mark Wielaard Date: Tue Nov 29 12:32:05 2011 +0100 Support fallback kernel dump_stack() with or without bp argument. There has been some flip-flopping in the kernel whether or not dump_stack() takes a bp argument. We now support either with or without. See linux commits v2.6.36-9872-g9c0729d and v2.6.38-793-ge8e999c. commit 7721a4d6d29c5fbcd151a0995796cb1a4feabb32 Author: Mark Wielaard Date: Tue Nov 29 12:32:05 2011 +0100 Support fallback kernel dump_stack() with or without bp argument. There has been some flip-flopping in the kernel whether or not dump_stack() takes a bp argument. We now support either with or without. See linux commits v2.6.36-9872-g9c0729d and v2.6.38-793-ge8e999c. commit b6a3ff43a2d56ffab2bb7bf26c8dffc48d06aeeb Author: Mark Wielaard Date: Tue Nov 29 12:24:07 2011 +0100 PR10739 kfail on non-x86 architectures, no dump_trace available. commit 5d88da2782aeb45ccf072deb8a58cf0082f69674 Author: David Smith Date: Mon Nov 28 16:12:28 2011 -0600 Fixed compile problem when HAVE_NSS isn't defined. * runtime/staprun/staprun_funcs.c (check_signature): If HAVE_NSS isn't defined, mark the arguments as unused to avoid gcc errors. commit 1048ca3b1577a9e73e489b7e40ad1b5d31e757f7 Author: Dave Brolley Date: Mon Nov 28 16:36:44 2011 -0500 RHBZ 757802: Add '--' to regexp commands in server_args.exp. commit bc0251a66ec57c726a13577b01cb61ec728e49f0 Author: Josh Stone Date: Mon Nov 28 13:06:15 2011 -0800 PR13440: Use real userspace addresses in @cast tests Some architectures make a harder distinction between user/kernel addresses, so we shouldn't be faking our user memory. * testsuite/systemtap.base/cast.*: Remove userspace @cast. * testsuite/systemtap.base/cast-user.*: Add a new test for userspace @casts with an honest userspace address. commit f4d71a520d5e11b99430f4ec4079af1dcdd4de35 Author: Josh Stone Date: Mon Nov 28 13:02:16 2011 -0800 PR13354: Add a type cast to satisfy old compilers RHEL4-era gcc tried to make "fake_remote?-1:i" unsigned (as 'i' is), and then complained about making -1 unsigned. Since remote::create just wants an int anyway, cast "i" in the ternary. commit 6e5026f423afca092d1562d6c1dc9a363d8d8b53 Author: Frank Ch. Eigler Date: Mon Nov 28 07:59:55 2011 -0500 PR13445: shrink ctl command handler function use less stack space * runtime/transport/control.c (_stp_ctl_write_cmd): Make larger struct copies static. Explain why this is safe. commit bde342310dd6b1a7e247a0dc40089b25f045552a Author: Mark Wielaard Date: Mon Nov 28 12:06:39 2011 +0100 _stp_vma_mmap_cb: Really mean that we are only interested in the first load. There was a chance our test for whether this was the first load of the whole module that is executable could miss a second load, which would override the original start address. Fix that by explicitly checking whether we already registered this module or not. commit 5137a7a990ef7bc27022654775ce0aa86e0e9942 Author: Frank Ch. Eigler Date: Sun Nov 27 17:26:44 2011 -0500 PR13354: remote_id() and remote_uri() tapset functions This little thing required changes all through the stack! * main.cxx (main): Pass the explicit --remote option index to the remote::create invocations. * remote.cxx (remote::create): Pass incoming index/uri to build staprun_r_arg. (direct::start): Use value. (stapsh::start): Use value if remote end is believed to be >= v1.7. (ssh_legacy_remote::start): Don't use value, as remote end may not know staprun -r. * remote.h (remote): New field staprun_r_arg. * runtime/transport/transport_msgs.h: Define new STP_REMOTE_ID message type. * runtime/staprun/common.c (parse_args, usage): Support new -r option. * runtime/staprun/staprun.8: Document it. * runtime/staprun/staprun.c: Pass remote id/uri to runtime via new STP_REMOTE_URI message. * runtime/staprun/staprun.h: Declare new variables. * runtime/transport/control.c (_stp_ctl_write_cmd): Accept STP_REMOTE_ID message from euid=0. * runtime/transport/transport.c (_stp_handle_remote_id): Process it. * tapset/context.stp (remote_id, remote_uri): New functions. * testsuite/systemtap.base/remote.exp: Extend to print/check those functions' values. commit 9c910acd0eddfb8ed0df5ac1fd4569fca7e8e7c6 Author: Frank Ch. Eigler Date: Sun Nov 27 16:07:59 2011 -0500 PR13354: NEWS blurb for remote_id() and remote_uri() commit 78be4756cbb64f38086f10a162ba62efaf0df22b Author: Frank Ch. Eigler Date: Sun Nov 27 15:56:32 2011 -0500 PR13354: run remote.exp by default, even if $TESTREMOTES were unset Just run it with direct: and stapsh: commit 3c6dd54efb6de5b4d55e073c8d5884440aece135 Author: Mark Wielaard Date: Sat Nov 26 22:21:22 2011 +0100 Pass through user flag into all of unwinder. runtime/unwind.c relied on passing of struct task being not NULL to see whether to access user space. In practice tsk was always either NULL or current. And not all bits of the unwinder checked it. Now we just pass a user flag and push it down to every function that needs it. commit 01a7cf86ed9d78093a71aa0fb7e007e2234284bd Author: Frank Ch. Eigler Date: Fri Nov 25 23:16:22 2011 -0500 PR13155 mention in NEWS commit 98ec0359c198960b4f7c6729250ca1eeed1c02f0 Author: Frank Ch. Eigler Date: Fri Nov 25 11:33:25 2011 -0500 examples index bump commit fa2418539b4ac2cb1352948f68da08890cec7774 Author: Mark Wielaard Date: Sat Nov 26 02:33:01 2011 +0100 Fix build error in staprun_funcs.c when HAVE_ELF_GETSHDRSTRNDX is not set. Mark find_section_in_module arguments unused when HAVE_ELF_GETSHDRSTRNDX isn't set. commit c5c49511ceb2084f6489f07dbc754997f51fbf6d Author: Mark Wielaard Date: Sat Nov 26 02:29:57 2011 +0100 Use __get_user and __put_user for s390 uderef/kderef. Replace costum s390 [store_][uk]deref() implementations with standard s390 kernel __get_user() and __put_user() functions. Wrapped in get_fs() set_fs() calls to switch between user/kernel space addresses. commit f1e8e7e0a601d1378262ba69890ce3e7d4519ab5 Author: Mark Wielaard Date: Fri Nov 25 15:11:00 2011 +0100 loc2c-runtime.h: Split deref and store_deref into user and kernel version. All references to deref have been updated to use either the user or kernel variant where appropriate, but kderef is currently still defined as uderef, and store_kderef as store_uderef. Which should work fine for all arches except s390. commit f24b4a2bc5000e5acb9984a3ef633f21aa622fd4 Author: Mark Wielaard Date: Fri Nov 25 11:53:19 2011 +0100 runtime/loc2c-runtime.h remove unused deref_buffer define. commit a5ce5211df81cf8a02edc000e61c59d3cf74462f Author: Mark Wielaard Date: Thu Nov 24 20:32:24 2011 +0100 Consolidate fetch_[uk]register defines in one place in tapsets.cxx. commit 826d96f855d68539c86cffcaff9ccf4401262527 Author: Dave Brolley Date: Fri Nov 25 12:06:03 2011 -0500 Create stapusr, stapsys and stapdev groups with their assigned group ids, if possible. - Group IDs were assigned by RHBZ 756807 commit 494582b7e4afc4e346c912667731335015d4483f Author: Dave Brolley Date: Wed Nov 23 17:43:33 2011 -0500 PR 13128: NEWS and man page updates. commit b4fe17a2aa98d26baf1c845f518dc84efae99fe8 Author: Dave Brolley Date: Wed Nov 23 16:31:10 2011 -0500 PR 13128: No need to exhaustively test every tapset function. - Test a subset by default - Test them all if SYSTEMTAP_TEST_ALL_EMBEDDED_C is defined in the environment. commit bb4470cacb3f7ce5161f9e8a1b7c37a87516a6c3 Author: Dave Brolley Date: Wed Nov 23 13:44:40 2011 -0500 PR 13128: Implement module privilege check in staprun. - staprun extracts the required privilege level from signed modules and compares it against the user's actual privilege credentials before loading. commit f6be7c061559d319c4422ce5ad17e7ae5a0e405e Author: Dave Brolley Date: Tue Nov 22 11:13:28 2011 -0500 PR 13128: Implement the new --privilege=stapsys - Users belonging to the group stapsys can use all probe points and tapset functions (including those which contain embedded C), but cannot use the -g option. - Loading of modules for stapsys users requires signing by a trusted compile-server. - Add testing for stapsys throughout as appropriate. - Update existing unprivileged test suites to test stapsys as appropriate. - New test suite tests -g against all privilege levels. commit be898cc4485951b10e692932a49144b5a00deef1 Author: Wade Farnsworth Date: Fri Nov 4 12:35:05 2011 -0700 ARM uprobes support Basic uprobes support for ARM. Signed-off-by: Wade Farnsworth commit affd4ce918f96a5f223c74a8d19d730c75d51b1d Author: Mark Wielaard Date: Wed Nov 23 00:53:34 2011 +0100 Simplify arch specific fallback for kernel backtraces __stp_stack_print. Only needs regs, sym_flags and levels to print. Drop uwcontext, ri and uregs_valid. commit 5b3c32ed42930e9f91a1e23b4ec42abf51289b93 Author: Mark Wielaard Date: Wed Nov 23 00:45:48 2011 +0100 testsuite/systemtap.base/cxxclass.exp: Fix typo in untested case. commit 6a906629882a05f33fafd555236f00ad2dcc06b8 Author: Mark Wielaard Date: Tue Nov 22 22:05:08 2011 +0100 PR13430 Split user tests from stmt_rel.exp into stmt_rel_user.exp. The new stmt_rel_user.exp testcase runs the same test against all available abi/opt variants. It kfails all the optimized builds because of PR13430. commit e045bb076340720d2dfcd911f0d2b390893957db Author: Mark Wielaard Date: Tue Nov 22 17:03:11 2011 +0100 dwflpp::die_entrypc: Add missing closing brace in verbose message. commit 4efa8b21221bc8b89354b8e89e2a080a65bce5d1 Author: David Smith Date: Tue Nov 22 09:10:26 2011 -0600 Fixed PR13428 by updating nfsd.stp. * tapset/nfsd.stp: Fixed nfsd.createv3 and nfsd.createv3.return probes after the kernel function they probe was renamed. commit abc69babc74e1c10e1e59d421d4c7b9485982fd9 Author: William Cohen Date: Mon Nov 21 17:21:20 2011 -0500 Add autoconf check for the addition of the pte argument for alloc_vm_area Linux Kernel commit cd12909cb5 add the pt argument to the alloc_vm_area function. Need to check whether that pte argument exists and sets a define as required. commit f3ea0ef4fc75628d56f262277f6d127555cb6d84 Merge: 345974c c0f710f Author: William Cohen Date: Mon Nov 21 16:38:39 2011 -0500 Merge branch 'master' of ssh://sources.redhat.com/git/systemtap commit 345974c00a58abd6c747d574f60dedc4756679d0 Merge: df23232 adc4897 Author: William Cohen Date: Mon Nov 21 10:15:23 2011 -0500 Merge branch 'master' of ssh://sources.redhat.com/git/systemtap commit df2323238f7b71fdd56f7ea54f94f560d4ec64f2 Merge: 2a253cd 5261f7a Author: William Cohen Date: Fri Nov 18 15:22:03 2011 -0500 Merge branch 'master' of ssh://sources.redhat.com/git/systemtap commit 2a253cde0b0949f6e9b45d6db346e9e9e66f65ee Merge: c24eb00 3b035c9 Author: William Cohen Date: Thu Nov 17 16:02:28 2011 -0500 Merge branch 'master' of ssh://sources.redhat.com/git/systemtap commit c24eb00eb66774b3efb95a8a2829fd73f81fb433 Author: William Cohen Date: Tue Nov 15 11:39:45 2011 -0500 Add the kvm_service_time.stp example ----------------------------------------------------------------------- Summary of changes: NEWS | 52 + README.unprivileged | 39 +- buildrun.cxx | 6 + csclient.cxx | 2 +- doc/SystemTap_Tapset_Reference/Makefile.am | 8 +- doc/SystemTap_Tapset_Reference/Makefile.in | 8 +- doc/SystemTap_Tapset_Reference/sort-tapsets.xslt | 21 + dwflpp.cxx | 55 +- elaborate.cxx | 8 +- elaborate.h | 2 +- hash.cxx | 22 +- main.cxx | 10 +- privilege.cxx | 40 +- privilege.h | 12 +- remote.cxx | 47 +- remote.h | 5 +- runtime/addr-map.c | 6 +- runtime/autoconf-utrace-via-ftrace.c | 52 + runtime/autoconf-utrace-via-tracepoints.c | 51 + runtime/autoconf-vm-area-pte.c | 6 + runtime/loc2c-runtime.h | 249 +- runtime/runtime.h | 8 +- runtime/stack-arm.c | 7 +- runtime/stack-dwarf.c | 4 +- runtime/stack-ia64.c | 5 +- runtime/stack-s390.c | 5 +- runtime/stack.c | 19 +- runtime/staprun/common.c | 20 +- runtime/staprun/staprun.8 | 4 + runtime/staprun/staprun.c | 13 + runtime/staprun/staprun.h | 2 + runtime/staprun/staprun_funcs.c | 328 ++- runtime/stp_utrace.c | 2896 ++++++++++++++++++++ runtime/stp_utrace.h | 429 +++ runtime/task_finder.c | 33 +- runtime/task_finder2.c | 1562 +++++++++++ runtime/transport/control.c | 32 +- runtime/transport/transport.c | 13 + runtime/transport/transport_msgs.h | 11 + runtime/unwind.c | 100 +- runtime/unwind/arm.h | 71 + runtime/unwind/unwind.h | 2 + runtime/uprobes2/uprobes_arch.c | 2 + runtime/uprobes2/uprobes_arch.h | 2 + runtime/uprobes2/uprobes_arm.c | 1947 +++++++++++++ runtime/uprobes2/uprobes_arm.h | 114 + runtime/vma.c | 3 +- session.cxx | 96 +- session.h | 1 + stap-server.8 | 3 +- stap-serverd.cxx | 24 +- stap.1 | 129 +- staptree.cxx | 4 +- systemtap.spec | 5 +- tapset-been.cxx | 2 +- tapset-itrace.cxx | 2 +- tapset-mark.cxx | 4 +- tapset-perfmon.cxx | 2 +- tapset-procfs.cxx | 4 +- tapset-timers.cxx | 6 +- tapset-utrace.cxx | 7 +- tapset/atomic.stp | 4 +- tapset/context.stp | 30 + tapset/conversions-guru.stp | 4 +- tapset/conversions.stp | 4 +- tapset/nd_syscalls.stp | 8 + tapset/nfsd.stp | 6 +- tapsets.cxx | 178 +- tapsets.h | 4 +- testsuite/config/unix.exp | 2 +- testsuite/lib/compile_flags.exp | 98 + testsuite/lib/stap_buildok.exp | 45 - testsuite/lib/systemtap.exp | 67 +- testsuite/systemtap.base/backtrace.exp | 8 + testsuite/systemtap.base/cast-scope.cxx | 7 +- testsuite/systemtap.base/cast-scope.exp | 43 +- testsuite/systemtap.base/cast-scope.stp | 10 +- testsuite/systemtap.base/cast-user.c | 11 + testsuite/systemtap.base/cast-user.exp | 21 + testsuite/systemtap.base/cast-user.stp | 36 + testsuite/systemtap.base/cast.exp | 3 +- testsuite/systemtap.base/cast.stp | 18 - testsuite/systemtap.base/cu-decl.exp | 32 +- testsuite/systemtap.base/cxxclass.exp | 30 +- testsuite/systemtap.base/externalvar.c | 9 + testsuite/systemtap.base/externalvar.exp | 108 +- testsuite/systemtap.base/externalvar.stp | 34 + testsuite/systemtap.base/externalvar_lib.c | 5 + testsuite/systemtap.base/implicitptr.exp | 36 +- testsuite/systemtap.base/inherit.exp | 37 +- testsuite/systemtap.base/inlinedvars.exp | 18 +- testsuite/systemtap.base/library.exp | 6 +- testsuite/systemtap.base/plt.c | 14 +- testsuite/systemtap.base/plt.exp | 20 +- testsuite/systemtap.base/pr13306.exp | 61 + testsuite/systemtap.base/pr13306.stp | 3 + testsuite/systemtap.base/ptridx.exp | 78 +- testsuite/systemtap.base/remote.exp | 15 +- testsuite/systemtap.base/remote.stp | 2 +- testsuite/systemtap.base/stmt_rel.exp | 32 - testsuite/systemtap.base/stmt_rel_user.exp | 45 + .../systemtap.base/unresolved-struct-typedef.exp | 45 +- testsuite/systemtap.base/uprobes.exp | 57 +- testsuite/systemtap.base/uprobes_call.stp | 2 + testsuite/systemtap.base/uprobes_return.stp | 2 + testsuite/systemtap.base/vta-test.exp | 46 +- testsuite/systemtap.context/uprobe_stmt_num.exp | 2 +- testsuite/systemtap.context/usymbols.exp | 45 +- testsuite/systemtap.examples/index.html | 9 + testsuite/systemtap.examples/index.txt | 41 + testsuite/systemtap.examples/keyword-index.html | 38 +- testsuite/systemtap.examples/keyword-index.txt | 121 + .../virtualization/kvm_service_time.meta | 14 + .../virtualization/kvm_service_time.stp | 96 + .../virtualization/qemu_count.meta | 14 + .../virtualization/qemu_count.stp | 13 + .../systemtap.examples/virtualization/qemu_io.meta | 14 + .../systemtap.examples/virtualization/qemu_io.stp | 22 + testsuite/systemtap.exelib/pthreadprobes.exp | 3 +- testsuite/systemtap.pass1-4/buildok.exp | 47 +- testsuite/systemtap.server/client.exp | 174 +- testsuite/systemtap.server/client_args.exp | 39 +- testsuite/systemtap.server/server_args.exp | 2 +- testsuite/systemtap.server/server_locale.exp | 2 +- testsuite/systemtap.syscall/nd_syscall.exp | 20 + .../unprivileged_embedded_C.exp | 93 +- .../systemtap.unprivileged/unprivileged_myproc.exp | 133 +- .../unprivileged_options.exp | 48 + .../systemtap.unprivileged/unprivileged_probes.exp | 127 +- translate.cxx | 5 +- 130 files changed, 9871 insertions(+), 1217 deletions(-) create mode 100644 doc/SystemTap_Tapset_Reference/sort-tapsets.xslt create mode 100644 runtime/autoconf-utrace-via-ftrace.c create mode 100644 runtime/autoconf-utrace-via-tracepoints.c create mode 100644 runtime/autoconf-vm-area-pte.c create mode 100644 runtime/stp_utrace.c create mode 100644 runtime/stp_utrace.h create mode 100644 runtime/task_finder2.c create mode 100644 runtime/unwind/arm.h create mode 100644 runtime/uprobes2/uprobes_arm.c create mode 100644 runtime/uprobes2/uprobes_arm.h create mode 100644 testsuite/lib/compile_flags.exp delete mode 100644 testsuite/lib/stap_buildok.exp create mode 100644 testsuite/systemtap.base/cast-user.c create mode 100644 testsuite/systemtap.base/cast-user.exp create mode 100644 testsuite/systemtap.base/cast-user.stp create mode 100644 testsuite/systemtap.base/pr13306.exp create mode 100644 testsuite/systemtap.base/pr13306.stp create mode 100644 testsuite/systemtap.base/stmt_rel_user.exp create mode 100644 testsuite/systemtap.base/uprobes_call.stp create mode 100644 testsuite/systemtap.base/uprobes_return.stp create mode 100644 testsuite/systemtap.examples/virtualization/kvm_service_time.meta create mode 100755 testsuite/systemtap.examples/virtualization/kvm_service_time.stp create mode 100644 testsuite/systemtap.examples/virtualization/qemu_count.meta create mode 100755 testsuite/systemtap.examples/virtualization/qemu_count.stp create mode 100644 testsuite/systemtap.examples/virtualization/qemu_io.meta create mode 100755 testsuite/systemtap.examples/virtualization/qemu_io.stp create mode 100644 testsuite/systemtap.unprivileged/unprivileged_options.exp hooks/post-receive -- systemtap: system-wide probe/trace tool