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 annotated tag, release-1.7 has been created at 0a943d8a3c34b1005ed0bb3463c4548c1ea84048 (tag) tagging 83bd2699d8cff2f2d6b9eaf5ea254e4cb6b33e81 (commit) replaces release-1.6 tagged by Frank Ch. Eigler on Wed Feb 1 21:27:10 2012 -0500 - Log ----------------------------------------------------------------- release 1.7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJPKfSBAAoJECWLbvoPIJ0kPN4QAJdj18UbI562sbkh1a1+d3/2 SzMSo1jmgN07QKlN4OkW7XYGSzlaT5Zu2VwKYXqPpTTFu8yyBmN7mbfBGGKaMqpw cPQDFE5z1Hg+3Fg/wherWtH9jerGdCoMnkBLArt1gUkUHm5y/SFCXEXd7zIF60YQ mdM5zEEG/t/MDye2517JvxCsnETRkHjxiLZNT+dFaERuzo2lHZwfeRH/ij745AZt Qp6tNr/Qmp9qJGV1cwmm45TD2OzvS5c7rR6lC6SjHC8kBAS8v7OKEPDWxM0H0Foa hS3DgHxUC3hDItxUdstXa53Ocjbn+/whr0iYiNrLqps7zqJY59pIiI5izIi3rs2Q ejOvGP81Du5xB1Rrfr/GSadPVTqKikdkUkSfPgdqSpIpPN4fh1tWvPwRA0KYRo6/ AFlIk4022JZVgRzbzG3pHTDv1aO9GSWzqPW1rtTAmlQpwWhe7Co4Pl2pKFH54o5e d4+TyHyEbKuru3SIGKf0bvpCoUzqoKe1XETSmvg5G/E3UJLaubV0WcTysRRQ5lYl v5XRP/1fHfslMR+0NlGNSb+Yi3Zahv9m1UAIgDlqetcw9I1LrzLwI7Cn1p0GUKiZ 8eBVr/zqtR6kSwvKwdwukkPStFBoB+3nKU9DGjPI1JA1VLhb44+/CcycKjgDjvKh y500TExEb1UN/GvJL/0O =XBKq -----END PGP SIGNATURE----- Chris Meek (36): PR12773: Use abrt to download and install debuginfo PR12773: Fixed NULL check - no longer aborts PR12773: Fixed Test Suite Regressions PR12773 cont'd: Added --download-debuginfo= option PR1277 cont'd: NEWS and man page entry PR12773 cont'd: Added Kernel Debuginfo Support PR12773 cont'd: Added check for --download-debuginfo for kernel PR12773 cont'd: Fixed NT_GNU_BUILD_ID undefined error on RHEL 4 and 5 PR12221: Added the build ids to the script's hash PR12221: Added Test Cases systemtap.spec: Added elfutils to the testsuite requires buildid.exp: Now no longer fails on RHEL5 PR13156: More verbose hash log output PR13156 cont'd: Removed String Truncating Code PR12221 cont'd: Added module suport for adding build id to hash PR13261: Added map->wrap mode to script parser PR13261 cont'd: Added error handling for scalars PR13261 Cont'd: Added test cases for map wrapping PR13261 Cont'd: Added NEWS, man page and Language Ref entries Fixed environ variable parsing in server Simplified environ variable parsing in server Fixed uninitialized error in _stp_vsnprintf() PR13076: Added time interval to cache cleaning PR13076: Added man page entry PR13076: Added test cases PR13274: Standardized Warning Processing (without elaborate.cxx) PR13274: Fixed testsuite for standard warning processing (without elaborate.cxx) PR13274: Standardized Warning Processing (elaborate.cxx) PR13274: Fixed testsuite for standard warning processing (elaborate.cxx) PR13274 related: Added class to save and restore variables PR13546 - Improve Map Hashing PR13546 Cont'd: Fixed failing test cases PR13546 Cont'd: Updated NEWS PR13546 Cont'd: Added stress tests PR12773 Update: Fixed abrt install path Modiified eventcount.stp example to wrap the map Dave Brolley (54): PR 12916 - Aliased process probes aren't allowed for unprivileged PR 11441: stap-server Roadmap to Legitimacy - New unprivileged test cases. Testsuite Improvements. PR 13057 Provide a Command Line Option to Dump Supported Probe Points PR 11441 - continue with unprivileged test suite Merge branch 'master' of ssh://sourceware.org/git/systemtap Update known and expected failures in unprivileged_all.exp PR11441 - unprivileged mode test suite enhancements. Don't expose local path names in test names. RHBZ 737095: Unable to start a systemtap server Revert previous change to stap-start-server. PR 11441 - continue with unprivileged test suite Systemtap compile-server and client do not require avahi. Correct avahi package for building is avahi-devel, not avahi-client. PR 11441 - continue with unprivileged test suite Merge branch 'master' of ssh://sourceware.org/git/systemtap Merge branch 'master' of ssh://sourceware.org/git/systemtap PR 13107: simplify compile-server testsuite PR 13128: Modify unprivileged mode infrastructure to support a multi-privilege design PR 13128: Generate section in the module containing privilege level information. PR 13128: Pass user privilege credentials from staprun to the module. Filter out arch-specific and deprecated functions in unprivileged_embedded_C.exp. PR 13128: Rework of commit f2013cc91ea1dba576661d6b746ee28658c8bc51 Fix segfault introduced by previous coverity cleanups. Compile-server client name resolution improvements. PR 13128: Backward compatibility for stapusr and stapdev level modules. PR 13128: Implement --privilege option and correct privilege checking usage. PR 13394 - gcc 4.6 doesn't inline ibar for unprivileged testcase PR 13394: Use __attribute__ ((always_inline)) to inline test case function. Correct typo. PR 13398 - Allow Compile-Server Specs to Resolve to localhost and localhost.localdomain PR 13128: Reorganize privilege functions to share common code between stap and staprun. PR 13128: Implement the new --privilege=stapsys PR 13128: Implement module privilege check in staprun. PR 13128: No need to exhaustively test every tapset function. PR 13128: NEWS and man page updates. Create stapusr, stapsys and stapdev groups with their assigned group ids, if possible. RHBZ 757802: Add '--' to regexp commands in server_args.exp. PR 13323: staprun should check return code from send_request when sending messages via the transport layer Don't mark skipped unprivileged_embedded_C.exp tests as UNTESTED. PR 13323: Fix regression checking return code of init_ctl_channel. staprun: User privilege checking in restricted environments. Make sure 'environ' is not NULL before passing it (via env) to posix_spawnp. Bogus error message being logged by stap-serverd. PR 13460: Expose stap-serverd options to stap-server. Merge branch 'master' of ssh://sources.redhat.com/git/systemtap PR 13318: Add -D option to stap-server and stap-serverd. PR 13496: stap could show some progress of the communication with the server Distinguish tests run using different privilege levels. Document --log, --port and --ssl in the stap-server(8) man page. PR 13631 and other rework of multi-privilege level support 13631 - Detection of Reqested Privilege Level in stap-serverd Give information about online servers and which servers were specified when no suitable servers are found. Move warnings for embedded privilege credentials in modules to -v. David Smith (85): Two task_finder cleanups. Start of task_finder2. task_finder2 now compiles. Several fixes. Removed global utrace handler support. Semi-working task_finder. Merge branch 'master' into dsmith/task_finder2 Updated with ftrace_based function probe. Handles kernels where CONFIG_UTRACE isn't defined. Merge branch 'master' into dsmith/task_finder2 Merge branch 'master' into dsmith/task_finder2 Merge branch 'master' into dsmith/task_finder2 Update parse_kernel_exports() for RHEL4. Fixed PR13055 by getting procfs probes working on 3.1 kernels. Convert 4 autoconf tests to exportconf tests. Merge branch 'master' into dsmith/task_finder2 Fixed PR13146 by not allowing memory allocations to sleep. Allow STP_WORK_TIMER to be changed on the stap command line. Remove unused STP_WORK_TIMER define. Fixed BZ639344 on s390x by adding '/lib/ld64.so.1' as a supported interpreter. Fixed PR12389 by making %m/%M use kread() to access memory. Fixed PR13083 by no longer calling mmput() when possible. (More PR13289 fixes) Added better %m/%M error handling. Fix PR13312 by defining PTRACE_GET_LAST_BREAK for older kernels. Fixed PR13158 by adding a staprun signal handler so modules don't remain. Merge branch 'master' into dsmith/task_finder2 Fixed PR13146 by not allowing memory allocations to sleep (ported). PR 13128: Modify unprivileged mode infrastructure to support a multi-privilege design (ported) Fix spacing in runtime/task_finder2.c to match runtime/task_finder.c. Fixed PR13083 by no longer calling mmput() when possible (ported). More PR13083 fixes to avoid sleeping in the task_finder. Merge branch 'master' of /es/scratch/dsmith/systemtap/src into dsmith/task_finder2 More PR13083 fixes to avoid sleeping in the task_finder (ported). Avoid "sleeping function called from invalid context" kernel errors. PR 13128: Rework of commit f2013cc91ea1dba576661d6b746ee28658c8bc51 (ported) Cleanup task_finder by removing some unused code. Merge branch 'master' into dsmith/task_finder2 Cleanup task_finder2 by removing some unused code (ported). Added 'autoconf' tests to figure out which new utrace implementation to use. Merge branch 'master' into dsmith/task_finder2 Fix problem with last commit. Ifdef'ed out unused internal utrace code. Small fixes and cleanups in stp_utrace.c and task_finder2.c. Merge branch 'master' into dsmith/task_finder2 Merge branch 'master' into dsmith/task_finder2 Updated for v3 of the kernel exec tracepoint patch. Switch UTRACE_EVENT(EXIT) support to UTRACE_EVENT(DEATH) support. Fix commented out code to avoid compile error. Fix memory leak in new utrace code. Merge branch 'master' into dsmith/task_finder2 Merge branch 'master' into dsmith/task_finder2 Fix compile error in _stp_stack_user_print. Merge branch 'master' into dsmith/task_finder2 Add UTRACE_API_VERSION to determine which utrace version we've got. Move common CONFIG_UTRACE check to its own function. Merge branch 'master' into dsmith/task_finder2 Check for the new task_finder config variable requirement. Update testsuite to check for new utrace requirements. Merge branch 'master' into dsmith/task_finder2 Fixed PR13428 by updating nfsd.stp. Fixed compile problem when HAVE_NSS isn't defined. Added individual tests for function.call and function.return probes. Merge branch 'master' into jistone/inode-uprobes Merge branch 'master' into jistone/inode-uprobes Fix the dtrace_clone.exp test to properly test with/without semaphores. Initialize the task_finder mmap entries in task_finder2. Initializce the vma tracker for internal utrace. Removed ifdef'ed out code from stp_utrace.[ch]. Remove the possibililty of sleeping from __stp_call_mmap_callbacks_*(). Add new test that probes by pid. Add HAVE_TASK_FINDER define to simplify some code. Remove the possibililty of sleeping from __stp_call_mmap_callbacks_*(). Fix PR12413 by fixing 'kprocess.release' variable problems. Fix PR13501 (partial) by making 'stap -L sunrpc.clnt.create_client' work. Improved __rpc_create_args global handling for sunrpc.clnt.create_client probe. Fix 13501 (partial) by making 'stap -L scheduler.ctxswitch' work. Fix gcc warning in uprobes2/uprobes.c. Fix PR13501 (partial) by making 'stap -L __scheduler.process_exit.kp' work. Rename tapset/rpc.stp variable to indicate its internal-only nature. Sync up task_finder2.c with task_finder.c Update DEPRECATION section of stap.1 with list of deprecated probe types. Fix gcc 4.7 compile issues (most related to gcc PR49745). Mention task_finder2 work in NEWS. Small unprivileged_myproc.exp testcase fix. Fixed /bin/mktemp require. Diego Elio Pettenò (2): Configuration Inprovements for NSS and avahi. Configuration improvements. Frank Ch. Eigler (143): spec: retroactively add %changelog entries for 1.6 / 1.5 stap-server security: use @PIELDFLAGS@ for all binaries pull in some debian patches security: name fixed CVE's in release sections probe_type: make unexpected types an error for probe_type() i18n: fix missing \n typo from -vvv message tweak wording of SYSTEMTAP_DEBUGINFO_PATH env var translate symbol/unwind extraction: shrink output doc: correct chapter heading for function::system debian bug#604453: tweak new blacklist items to exploit regexps add copyright/license blurb to process/schedtimes.stp sample docs: add missing " * " line for tapset doc extraction tool PR13057 related, remove process.**.return.maxactive(N) probe type PR13136: add guru-mode printk() tapset function PR6503 part 1: separate out _stp_kmodule_update_address runtime: remove probe_start/_exit() intermediary PR6503: add module notifier testsuite: remove process.*.return.maxactive(NNN) variants PR6503: make module notifier update kmodule section addresses PR6503: make module notifier update kmodule section addresses, GRSECURITY version PR6503: introduce systemtap_module_refresh() entry point PR6503: when clearing departing module section relocations, clear them all PR6503: call systemtap_module_refresh() upon module arrival/departure PR6503: enable module arrival/departure response for kernel/module.* probes PR6503: tweak blacklisting logic i18n: correct use of %# PRIx64 formatting PR6503: actually allow module init/exit probes PR6503: enable module-init probing for 2.6.29+ PR13072: fix for translator, add for runtime testsuite: excise build-tree directory names from library.exp results testsuite: cleanup buildid.exp test item messages testsuite: sanitize paths from usymbols.exp BZ738242: tweak memory allocation estimation logic PR6503: note special build-id relocation with -DDEBUG_SYMBOLS PR6503: get at dynamic module section addresses via horrible hack (tm) PR6503: verify build-ids of dynamically arriving modules PR6503 test cases PR6503 NEWS blurb PR13193 wallpaper PR13200: skip prologue searching for *.function(ADDR).return probes testsuite: add explicit timeouts to stap session BZ732346 vs PR12729: don't print make failure messages for bad tracepoints testsuite: standardize test $pass/$fail messages PR13216: set AM_GNU_GETTEXT_VERSION(0.17) in configury tapset: remove result caching from __find_bdevname AUTHORS: bump examples: add a ¶ anchor before individual examples in full index examples: tweak keyword selections examples: add a ¶ anchor to the keyword index html too testsuite: note number of kernel tracepoints tested in pass result PR13100: build tracepoint query modules separately, concurrently testsuite: add dummyish test case for tracepoint listing only PR3823: fix accidental whitespace included in type mismatch messages for i18n PR13076 tidbit: increase default module cache size to 256MB PR13155 prep: move kbuild make -j parallelism to general code documentation: mention --remote=direct:// and --remote-prefix PR13155: separate compilation for tracepoint-related functions i18n: fix gettext markup for "command line argument index" parse error message i18n: fix printf formatting typo in commit 984ad50c testsuite: add installtest_p assertion to rename_module.exp testsuite: add installtest_p protection to systemtap.base/stmt_rel.exp PR13317: improve parse error recovery heuristics PR13317: mention parser error handling changes PR13319: fix _stp_bufsize-related start-time net/ memory report printk code hygiene: some more coverity cleanups testsuite: update to match error message change fix missing \n's in usage message PR13338: prevent infinite recursion during process glob expansion clarify that = (equal sign) is necessary for optional-argument --long-options PR13193: disable kprobes-optimization at staprun startup time PR13193: pessimize dynamic-module test case PR13338: make test case pass even without coreutils-debuginfo PR13386: disable preemption around printing-happy parts of *module_exit(). PR13386: avoid _stp_printf() crash for null context / %M or %m PR13353: use session parameters to search for build-id. PR13373: unprivileged tests for plt / label probes PR13373 addendum: add back a shlib->plt->shlib call trigger for myproc test PR13313: parse x86 base+(index*scale)+displacement sdt.h asm operand format PR13313 redux, fix off-by-one error in disp+disp+disp(...) asm operand format PR13313 cont'd, fix regexp for [+-]D[+-]D[+-]D(...) operand case examples index bump PR13155 mention in NEWS PR13354: run remote.exp by default, even if $TESTREMOTES were unset PR13354: NEWS blurb for remote_id() and remote_uri() PR13354: remote_id() and remote_uri() tapset functions PR13445: shrink ctl command handler function use less stack space PR13458: laugh in the face of xslt testsuite: xfail->kfail buildok failures testsuite: more xfail->kfail transforms PR13306: introduce stap --suppress-handler-errors option PR13306: document new option PR13306: test 'er Add new --modinfo option. --modinfo testsuite tracepoints: tolerate kernel event headers without their own #include inode-uprobes: recognize it even without exported symbols PR13076: fix -timeout tcl error PR13489: support inode-uprobes without EXPORT_SYMBOL*'s configury: fix make -j all install PR13386: move _stp_kill_time out of preemption-disabled interval at shutdown PR13489/PR11671: more lockdep antihistamines PR13499: grapher: remove systemtap-runtime=V-R dependency PR13489: Look up kallsyms_task_user_regset_view if needed, even without any uprobes PR13513: undo PR11759 PREEMPT_RT hack PR13489: comment on task_user_regset_view usage PR13489 finale (?): tolerate non-existent task_user_regset_view task-finder2: disable uprobes_p if only task-finder2 is available PR13514: don't printk on transport out-of-memory PR13489, the neverending kludge story. Resolve RHEL5's old utrace conflicts. task-finder2: fix thinko in uprobes_p test PR13520: add support for loading default options from $SYSTEMTAP_DIR/rc PR13520: perspire to keep lockdep enabled, despite TAINT_OOT_MODULE logic PR13520: force-create $SYSTEMTAP_DIR PR13489: don't confuse staprun's "is uprobes in the kernel?" logic modinfo: also apply to uprobes.ko testsuite: use [uprobes_p] as applicability test PR13536: eliminate staprun -u uprobes check/load race condition. testsuite: more use [uprobes_p] as applicability test testsuite: typo fix for tcl uprobe_p'ing i18n: update po/* stuff from transifex and source changes testsuite: disable unprivileged_* tests on non-uprobes platforms tapset: separate env_var() from context.stp stap-report: include CONFIG_MODULE_* items too $SYSTEMTAP_SYNC: new environment variable for staprun stap-report: also include lsmod results diagnostics: Let --vp 003 explain why char[] vs. char* is chosen for probe metadata rebuild example indexes after keyword tweaks refresh AUTHORS when building uprobes.ko, don't suppress make stderr testsuite: unload uprobes at start of run runtime: autoconf for relay umode_t change runtime: autoconf for fs_supers hlist change improve error message if script requires -g but lacks it improve error message if script requires -g but lacks it, part 2 improve error message if script requires -g but lacks it, part 3 AUTHORS bump PR13461: systemtap.spec: reorganize subpackages, new -client, -devel testsuite: make #! .stp files executable to make rpmlint happy PR13640: don't start stap-server service by default bump copyright date on startup message runtime: document reason runtime/staprun* are compiled with -Wno-format-nonliteral i18n: update-po release 1.7 prep Frederic Turgis (1): PR13142: Stopping script execution on Android (ARM) does not unload kernel module Fredrik Östman (2): Correct and consistent .meta files for examples Correct and consistent .meta files for example scripts: README Han Pingtian (3): Fix pr10678.stp failure if system doesn't have ne2k-pci module. change probe wildcard matching criterion in sdt_misc.exp PR13155/BZ730884: ext3/jbd tracepoint listings Jim Keniston (1): PR13539 Josh Stone (55): Add initial support for inode-based uprobes PR12895: Use NOSTDINC_FLAGS in kernel stapconf checks Bump the runtime version to 1.7 too PR12135: Prefer subclass members if they mask the superclass PR12135: Discard inheritance "dupes" in suggested alternatives PR12135: Pretty-print should skip masked inherited members vim: bump the date and use a generic email contact Move the comment for STP_MAX_PROCFS_FILES closer Relax -G regexp slightly to allow 1-char variable names Fix the uprobes.ko path when used with remotes Merge remote-tracking branch 'origin/master' into inode-uprobes Add a probe_type for inode-uprobes Makefile: Add an srpm target Update testsuite configury to autoconf 2.68 too Add a compat #define FIELD_SIZEOF PR11209: Add cpu_clock and local_clock PR13078: Support stap --remote unix:/path sockets Improve scope splitting in function specs PR12136: Load nested types for C++ CUs Fill in @cast default module from SDT PR12136: Test a @cast to type sdt::string Merge remote-tracking branch 'origin/master' into inode-uprobes inode-uprobes: Set context->uregs and ->probe_flags PR13128: preparing for more privilege levels Convert _stp_ctl_write_cmd->default's message to dbug_trans2 PR3217: Compiled printf PR3217: Merge similar compiled-printfs PR3217: Make compiled-printf functions noinline PR3217: Add STP_LEGACY_PRINT option to use the old form PR13272: Fix quoted strings in the printf shortcut path PR3217: Fix systemtap.base/vars.exp tracepoints: Cache an empty file for failures tracepoints: Work with the tracequery's .o rather than .ko tracepoints: Avoid building tracequery.ko targets tracepoints: Skip identical headers from the build and source trees tracepoints: Support reading enum parameters tracepoints: Add support for CONDITION events PR13155: Fix tracepoint argument access Tweak cache logic to group removals by hash value PR13283: Use a temporary string for comparisons rhbz744907: Fix unowned directories plt: Throw an appropriate error for missing $var Refactor sdt & plt pattern registration Add the pattern for label probes in libraries Merge remote-tracking branch 'origin/master' into inode-uprobes PR13404: Dial SDT args up to twelve Merge remote-tracking branch 'origin/master' into inode-uprobes PR12136: Add a statement probe for testing @cast scopes PR12136: Tweak the cast-scope testcase PR13354: Add a type cast to satisfy old compilers PR13440: Use real userspace addresses in @cast tests tapset: Make addr_to_node ignore !NODE_DATA(nid) modinfo: Apply to the uprobes hash name too Don't squash to pass 4 when using --remote task_finder2: update an unprivileged check for stapsys Lukas Berk (11): Rearrange conditional to include return value check Properly initialize variables and consistently check getenv Restore stream state Add destructor to struct dwarf_pretty_print Add pattern_root to destructor Merge branch 'master' of git://sourceware.org/git/systemtap Add destructor to struct block and delete statements to avoid scope leaks PR11775: Add more tapsets to the tapsets.tmpl file update autoconf files for 2.68 Check ix is not NULL before dereferencing for both cases Initialize POD members that were previously uninitialized Mark Wielaard (223): Remove STP_USE_FRAME_POINTER support and merge i386/x86_64 into stack-x86.c Remove stack-x64x.c specific fallback for _stp_stack_print_fallback(). Introduce /* pragma:unwind */ Merge branch 'master' into mjw/backtrace Remove task_backtrace tapset function support. Only include runtime/stack.c functions when needed. Remove unused arch_unw_init_blocked arch specific unwind functions. Clean up maximum backtrace level code. And document MAXBACKTRACE. Remove superfluous definition of MAXSTRINGLEN from runtime.h. Don't pass kregprobe, uretprobe and unwind_context around separately. Push all stack logic into stack.c. tapset functions just pass flags. Fix stack-ppc.c typo level -> levels. Add \n at end of debug message in staprun/mainloop.c. Adjust expected "no backtrace" string in context/backtrace.tcl test. Allow gcc to optimize away uprobe_get_pc() calls in some situations. Merge branch 'mjw/backtrace' Add autoconf-ring_buffer_lost_events. Add autoconf-ring_buffer_read_prepare. PR13037 Make lock blacklist more specific. Guard regparm in probe context with STAP_NEED_REGPARM. tapset-utrace.cxx: Use 'utrace_engine' instead of 'utrace_attached_engine' Put common probe and session context state definitions in their own files. Only add probe_name to the common probe context when really needed. Probe context data field is only used for procfs. Rename to procfs_data. Remove old comment in kretprobe handler. Remove old context.stp uaddr() comment. Add probe_type to common probe context. common_probe_context.h: Put Individual Probe State (ips) into a union. implicitptr.exp: Add implicitptr.exp to test_flags. testsuite warnings.stp: match all lines in bio_init@fs/bio.c:*. testsuite warn_overflow be more precise and a bit more lenient. Fix autoconf-ring_buffer_lost_events.c compile warning. Check whether syscalls2.stp sigprocmask argument is set or nset. Use $dfd not $mode in testsuite/transok/tval-opt.stp. runtime/stack.c: Wrap GET_PC_URETPROBE_NONE in #ifdef STAPCONF_UPROBE_GET_PC context-unwind.stp: More STAPCONF_UPROBE_GET_PC wrapping. Check for hw_breakpoint context argument. proc_mem.stp: Always use atomic counters with kernel 3.1 or higher. Add NULL context when creating perf event counter, remove nmi from handler. sdt*exp: When the compiler doesn't recognize flag, mark test as UNTESTED. Remove preempt_disable from unwind hotpath. Only collect and emit unwind data in translator if the session needs it. Be more explicit about when the session needs symbol data. pragma:symbols. ucontext.stp: Remove STP_NEED_VMA_TRACKER, done through pragma:vma. Remove _stp_ctl_work_timer from module transport layer. runtime/io.c: Explicitly signal setting of _stp_exit_flag. Implement and use select to wait for cmd channel data. Reintroduce timer for transport cmd channel, don't wake_up unconditionally. Bug 11859 - print_ubacktrace() prints kretprobe addresses warn_overflow.exp: Add -DMAXSKIPPED=9999 to prevent false failures. PR13103 substr 3 argument length description is wrong. PR6961 - backtrace from non-pt_regs probe context Really old kprobes didn't have a symbol_name field, autoconf it. Add "documentation" for cpu parameter to tapset/timestamp_monotonic.stp. loc2c.c (location_from_attr): Add pc address where location isn't accessible. Merge branch 'master' of git://sources.redhat.com/git/systemtap non-guru printk test fail during semantic (p2) time, not build (p4) time. PR13112 (and PR13108) blacklist probing function from include/asm .h files. PR13108 blacklist probing paravirt ops from paravirt.c or paravirt.h. PR13112 Add include/asm/io_64.h blacklist. Remove unused runtime/counter.c file. Rename CONTEXT regflags to probe_flags. Now simply indicates user mode. Don't try to be smart detecting perf event was in user mode. Remove commented out and outdated (confusing embedded C) example from SBG. Remove kfail from backtrace.exp. Fixed by commit 207d2d. Merge branch 'master' of ssh://sourceware.org/git/systemtap Remove CONFIG_UTRACE check in pass 2 (dwarfbuilder). Fix systemtap.examples/process/syscalltimes script and add test. Regen script index for process/syscalltimes. Revert "Remove CONFIG_UTRACE check in pass 2 (dwarfbuilder)." Split kregs and uregs in probe context. Remove arch specific _stp_probing_32bit_app() and _stp_get_regparm(). uaddr(): Use CONTEXT->uregs directly when _STP_PROBE_STATE_USER_MODE set. Fix arm _stp_get_register_by_offset switched uregs/kregs usage. Introduce _stp_get_uregs and _STP_PROBE_STATE_FULL_UREGS flag. Put struct unwind_frame_info in unwind.h and remove unused task field. PR13210 vma/vdso tracking is broken testcase Put probe name descriptions on separate line to include in tapset ref. dwflpp.cxx (dwflpp::iterate_over_plt): Initialize both rel and rela. _stp_current_pt_regs() helper, explicitly checks current->mm. unwind.c (adjustStartLoc): Call stap_find_vma_map_info_user() only on task. stack.c (_stp_get_uregs): Recover user registers from kernel context. stack.c (_stp_get_uregs): Detect kernel unwind before user unwind case. dtrace.in: generate DTRACE_PROBE compatibility macro instead of STAP_PROBE. _stp_vma_match_vdso: Don't subtract build_id_len from notes_addr. runtime/alloc.c: Remove unused _stp_vmalloc() and _stp_vfree() functions. Introduce gfp_mask variants of _stp allocation functions. Remove unused unwind _stp_put_unaligned definitions. Check module was actually created in tracepoint_builder. Rename runtime/stack-x86.c -> runtime/stack-dwarf.c to reuse by other arches. Introduce DWARF_MAP_REG for unwind. Extend optionalprobe.exp timeout to 120 seconds. Support same value rules in unwinder. Don't treat undefined as same value. Explicitly set UNW_PC in unwinder to retAddrReg value if not yet set. PR13266 Implement DW_CFA_restore in the dwarf unwinder. DWARF_REG_MAP reg_value argument of DW_CFA_register in unwinder. Always remove prefix '.' when _stp_snprint_addr() human readable symname. Enable dwarf unwinder for ppc64. Merge branch 'master' of ssh://sourceware.org/git/systemtap Split translate dump_unwindsyms in separate collection/dump phases. embeddedc.awk: Fixup too much whitespace for unprivileged_embedded_C.exp. PR13241 too much dump-unwindsyms processing for modules even if !need_symbols Handle PPC64 function symbols by resolving function descriptors. PR13284 Failure to resolve kernel global e.g. jiffies. Don't crash with -DDEBUG_SYMBOLS in _stp_umod_lookup when vm_start is NULL. Don't trust dwfl_module_relocations() for ET_EXEC in get_unwind_data. Remove unused runtime/stack-ppc.c. Don't try to do any lookup when addr is zero in _stp_kallsyms_lookup(). Disable uregs recovery through kernel dwarf unwinder for powerpc. testsuite/systemtap.exelib allow any libc function to occur as start_func. Make sure sdt includes are setup for cast-scope.exp testcase. set test "hash_add_buildid" Add runtime/autoconf-mm-context-vdso-base.c for vma.c vdso catching. Extend vma_map entry vm_end range when additional segments are mapped. Extract addr_of for unprivileged_[my]probes.exp once and with optional dot. Make uprobe_uaddr.exp testcase names unique. Make testsuite error_handler "target_compile" pass/fail message unique. Make procfs.exp test names unique. Make procfs_maxsize.exp test names unique. Make labels.exp test names unique. Move duplicated __is_user_regs from [nd_]syscalls.stp to aux_syscalls.stp Remove duplicate -D "foo;bar" invalid_options test from client_args.exp. Make client.exp test names unique. Make sdt_misc.exp test names unique. Make uprobe_uaddr.exp line matches unique. Workaround PR13350 dwarf unwinder _stp_valid_pc_addr() invalid for s390x. Allow "broken" kernel-debuginfo for the testsuite. Just test up to -p2 for kernel-debuginfo smoke test. Introduce and use STP_ALLOC_SLEEP_FLAGS for use with gfp alloc functions. Make --with-elfutils work with either a source release or git checkout. Be explicit about SP from CFA and PC from RA dwarf unwind rules. Hook up s390x dwarf unwinder. Merge branch 's390x-unwind' unprivileged awk regexp tweak to prevent false matches on s390x objdump -d. runtime/unwind.c (unwind_frame): _stp_warn which eh or debug hdr is missing. translate.cxx (get_unwind_data): Only get .eh_frame for SHT_PROGBITS sections. Fix tapset/powerpc/aux_syscalls.stp for older ppc kernels. PPC64 Dwarf handle both .debug_frame and .eh_frame register mappings. PR13332 skipped.exp testcase can freeze processes/system. Silence gtod.c -Wformat warnings. Arguments are long int (%ld), not int (%d). Split printing of kernel and user stack in separate functions. Make sure to test 64-on-64 for fib.exp and exelib.exp when appropriate. plt.exp should be tolerant of slight function call variations. testsuite/systemtap.base/plt.c: define _GNU_SOURCE for stpcpy. testsuite/systemtap.base/vta-test.c: Tweaked to use variables. sched_switch.stp parse arguments once, workaround name argument WARNINGs. testsuite/systemtap.base/sdt_misc.c: nanosleep in endless loop. testsuite/systemtap.base/implicitptr.c: Make sure to use all implicit values. testsuite/systemtap.exelib/pthreadprobes.exp: Make PASS messages unique. testsuite/systemtap.exelib/pthreadprobes.exp: Handle pthread_mutex_timedlock. testsuite/systemtap.base/implicitptr.exp: Only fail if exe_uses_implicit_ptr. Make plt.exp test work against older glibc and/or newer gcc. unprivileged_embedded_C.exp: Before 2.6.21 __get_skb_iphdr wasn't native. testsuite/systemtap.base/library.exp: Add test name to PASS/FAIL messages. PR13313 cont'd, fix regexp for [+-]D[+-]D[+-]D(...) operand case again. server_locale.exp: Make untested message different from server.exp message. Don't use dwfl_module bias in either emit_address() and vardie_from_symtable(). uprobe_stmt_num.exp run the last test, but explicitl kfail PR10454. Add testsuite/lib/compile_flags.exp and use it in tests. testsuite/lib/systemtap.exp: Check abi arch flags (-m64, -m32/31) work. testsuite/systemtap.base/cast-scope.exp: KFAIL: cast-scope-m64 (PRMS: 13420) dwflpp::die_entrypc: Add missing closing brace in verbose message. PR13430 Split user tests from stmt_rel.exp into stmt_rel_user.exp. testsuite/systemtap.base/cxxclass.exp: Fix typo in untested case. Simplify arch specific fallback for kernel backtraces __stp_stack_print. Consolidate fetch_[uk]register defines in one place in tapsets.cxx. runtime/loc2c-runtime.h remove unused deref_buffer define. loc2c-runtime.h: Split deref and store_deref into user and kernel version. Use __get_user and __put_user for s390 uderef/kderef. Fix build error in staprun_funcs.c when HAVE_ELF_GETSHDRSTRNDX is not set. Pass through user flag into all of unwinder. _stp_vma_mmap_cb: Really mean that we are only interested in the first load. PR10739 kfail on non-x86 architectures, no dump_trace available. Support fallback kernel dump_stack() with or without bp argument. Support fallback kernel dump_stack() with or without bp argument. Merge branch 'master' of ssh://sourceware.org/git/systemtap PR10739 kfail all backtrace.exp tests on non-x86 architectures. Make cast-scope testcase more robust. Prevent line-reordening. PR13420 cast-scope.exp: kfail all non-optimized test cases. nd_syscall.exp KFAIL PR13451, PR13452, PR13453, PR13454, PR13455 and PR13456 Add DWARF unwinder support for ARM. nd_syscalls.stp: Probe sys_accept4 for kernel 2.6.28+. Document some new features and improvements since systemtap 1.6. tapsets.cxx: Fix arguments passed to common_probe_entryfn_epilogue. PR13462 symdata() returns ARM mapping symbols. systemtap.examples/check.exp: Don't try running tests that failed to build. _stp_get_mm_counter: Fix kernel version check. testsuite/systemtap.context/num_args.stp: Define ri and rl registers for ARM. tapset/arm/registers.stp (_stp_arg): should return signed values. runtime/stack-dwarf.c: arch_unw_init_frame_info() call takes an int. stap_initialize_vma_map() doesn't need any locking. Introduce stap_destroy_vma_map and allocate vma free at vma init time. PR11671 Allocate __stp_tf_vma_entry dynamically. Merge branch 'master' of ssh://sourceware.org/git/systemtap cache.cxx (clean_cache): Use difftime to compare times. stap_add_vma_map_info: Reserve __stp_tf_vma_entry memory before taking locks. stap_add_vma_map_info: Make sure__stp_tf_vma_map is initialized. Move __stp_tf_vma_map check from commit 972ea1 to stap_find_vma_map_info(). pf2.stp example probefunc() is deprecated, use symname(addr()) instead. Add process, kernel and module function.exported probes to unprivileged tests. uprobes.c add rcu_read_lock for pid_task(), rcu_dereference and utrace. Protect just the transport state with _stp_transport_mutex. Merge branch 'master' of ssh://sourceware.org/git/systemtap PR13467 Provide alternative testcase for pointer_array.exp. Older glibc elf.h don't know about new STB_GNU_UNIQUE constant. modinfo.exp testcase needs modinfo from /sbin, which might not be in PATH. _stp_vma_mmap_cb: Also extend mapping that don't overlap but are connected. modname/symdata: Try harder to retrieve module name when requested. periodic.stp example truncate fname to 50 chars to keep table readable. Check that unset CONFIG options compare equal the empty string and/or zero. task_finder_vma.c (__stp_tf_vma_new_entry): No unnecessary atomic allocs. scheduler.ctxswitch: arm has context_switch(), not __switch_to(). Use function.call and function.return in all thread_indent() examples. gcc 4.7 need to #include for sleep, sysconf, etc. Remove bogus executable bit from process_by_cmd.stp. dump_symbol_tables: kernel entry functions are NOTYPE. Regenerate systemtap.examples index to include new pstrace_exec.stp. PR13626 Add extra whitespace in sdt.h to deal with C11/C++11 UDF. Use UTRACE_ATTACH_ATOMIC when calling utrace create under lock. itrace.c: rcu_dereference needs to be called under rcu_read_lock. tapset/task.stp (pid2task) Extend scope of rcu_read_lock to include pid2task. utrace_compatibility.h: Fix typo/thinko in UTRACE_ATTACH_ATOMIC comment. Merge branch 'mjw/create_atomic' Otavio Pontes (1): PR13628: override LANG for stap-prep operation in non-english locales Peter Robinson (1): credit for systemtap.spec mktemp Srikar Dronamraju (1): PR13539: fight uprobes unregister-vs-exit races Stan Cox (21): bump version numbers to 1.7, for future release cycle Fix typo in 1.6 release date. Default --disable-sdt-probes for gcc version 3 Allow xfails for sdt.exp. s390 also has ambiguous asm opcode. Add process.plt to probe plt entries. Add process.plt test. Also recognize rel.plt, which is used on x686. Fix pre gcc 4.6 unitialized variable warnings. Add process.library.plt Document process.plt. Improve git.library.plt testname. work in progress Add function(...).exported Also consider STB_GNU_UNIQUE symbols to be exported. Revert accidental "work in progress" commit Test with postgres-9.1.2 Do not exit sdt_misc.exp if test #1 fails. Update to mysql 5.5.19. Only run .plt tests on x86. Only run .plt tests on x86. Timo Juhani Lindfors (5): man: Escape backslash properly in tapset::snmp man: Add spaces after commas in tapset::nfsd man: Convert 3-column table to 2-column table in stapprobes debian bug#604453: add more items to kprobe blacklist Tell the user if UTS_VERSION does not match running kernel Turgis, Frederic (1): runtime/staprun/configure.ac: AC_CHECK_LIB before adding -lelf. Wade Farnsworth (3): Fix uninitialized variable warning in __stp_call_mmap_callbacks_with_addr Add syscall information for ARM ARM uprobes support William Cohen (66): Break user_int64 64-bit operation into two for arm Revert "Break user_int64 64-bit operation into two for arm" Break user_int64 64-bit operation into two for arm Add the watchdog.stp example Add the watchdog.stp to the index. Bump beginners guide to 1.6. Correct year for systemtap beginners guide. Make sure that ".stp" is at the end of the file name for the check. Add the nfsd_unlink.stp example. Revert "Add the nfsd_unlink.stp example." Add the nfsd_unlink.stp example. Add the nfsd_unlink example to the index. Clean up func_time_stats information. Add the func_time_stats.stp example. Add the func_time_stats.stp to the index. Add the structure comments for tapset reference manual to nfs.stp Reorder the nfs tapset entries to group nfsd material together. Add tapset reference manual description for nfsderrno.stp. Initial checkin of nfsd.stp documentation. Add documentation comments to inet.stp. Add documentation comments to nfs_proc.stp. PR13101 Add structured comments to document rpc.stp. Document and relocate information about default tcpmib_filter_key function. Add documentation comments to inet_sock.stp PR13101 Add ipmib-filter-default.stp to documentation. PR13101 Add linuxmib-filter-default.stp to Tapset Reference Manual. Document atomic.stp and add to the SystemTap Tapset Reference Manual. Correct atomic.stp documentation comments. They should be sfunction. PR13102 nfs tapsets should have structured comments PR13101 Networking tapsets should have structured comments PR13101 Networking tapsets should have structured comments PR13101 Networking tapsets should have structured comments PR13101 - Networking tapsets should have structured comments Use "unsigned long" in place of "uintptr_t" to compile on older kernels PR13101 Networking tapsets should have structured comments Fix typo in loc2c-runtime.h for ia6 Fix typo in loc2c-runtime.h for ia64 Merge branch 'master' of ssh://sources.redhat.com/git/systemtap Add the qemu_io.stp example Add qemu_count.stp example Update the examples index with qemu_io.stp and qemu_count.stp. Add the kvm_service_time.stp example Merge branch 'master' of ssh://sources.redhat.com/git/systemtap Merge branch 'master' of ssh://sources.redhat.com/git/systemtap Merge branch 'master' of ssh://sources.redhat.com/git/systemtap Merge branch 'master' of ssh://sources.redhat.com/git/systemtap Add autoconf check for the addition of the pte argument for alloc_vm_area Mark buildok/memory-write_shared_copy.stp as KFAIL when it fails Add the periodic.stp example Add the periodic.stp example to the index Adjust periodic.stp example to run on kernels without struct delayed_work Add the speculative.stp tapset Add a test for the speculative.stp tapset Remove "cancelable logging" exercise, the speculative.stp tapset implements it Revert "Remove "cancelable logging" exercise, the speculative.stp tapset implements it" Add in hint for ``cancelable'' logging tapset exercise. Revert "Add in hint for ``cancelable'' logging tapset exercise." Make a simple hint for the ``cancelable'' logging exercise. Improve extraction of kernel version for bz6503.exp Improve extraction of kernel version for unprivileged_embedded_C.exp Improve extraction of kernel version for unprivileged_embedded_C.exp Merge branch 'master' of ssh://sources.redhat.com/git/systemtap Add the pstrace function to tapset with documentation and example test Add the stopwatch.stp tapset Add example and buildok test for stopwatch.stp tapset Updates the example indices. ----------------------------------------------------------------------- hooks/post-receive -- systemtap: system-wide probe/trace tool