summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Moved inclusion of runtime/procfs.c to a better place.David Smith2009-02-124-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-12 David Smith <dsmith@redhat.com> * tapsets.cxx (procfs_derived_probe_group::emit_module_decls): Moved inclusion of procfs.c here from runtime/transport.c 2009-02-12 David Smith <dsmith@redhat.com> * transport.c: Moved inclusion of procfs.c to procfs_derived_probe_group::emit_module_decls() in tapsets.cxx.
* | | | Function to determine page fault type and have pfaults.stp exercise it.William Cohen2009-02-1211-74/+136
| | | |
* | | | Cleanup. Renamed _stp_{un}lock_debugfs() to _stp_{un}lock_transport_dir().David Smith2009-02-127-16/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-12 David Smith <dsmith@redhat.com> * transport.c (_stp_lock_transport_dir): Renamed from _stp_lock_debugfs(), since on older kernels this actually uses procfs. (_stp_unlock_transport_dir): Renamed from _stp_unlock_debugfs(), since on older kernels this actually uses procfs. (_stp_lock_transport_dir): Changed _stp_lock_debugfs()/_stp_unlock_debugfs() to _stp_lock_transport_dir()/_stp_unlock_transport_dir(). * transport.h: Ditto. Also added _stp_transport_init() prototype. * utt.c (utt_remove_root): Changed _stp_lock_debugfs()/_stp_unlock_debugfs() to _stp_lock_transport_dir()/_stp_unlock_transport_dir(). * relayfs.c (_stp_remove_relay_root): Ditto. 2009-02-12 David Smith <dsmith@redhat.com> * procfs.c (_stp_rmdir_proc_module): Changed _stp_lock_debugfs()/_stp_unlock_debugfs() to _stp_lock_transport_dir()/_stp_unlock_transport_dir(). (_stp_mkdir_proc_module): Ditto.
* | | | Use "\n" instead of endl in inner loops.Mark Wielaard2009-02-122-2/+7
| | | |
* | | | Extend blacklist to cover bitops.h. While there, fixup paths for existing ↵Ananth N Mavinakayanahalli2009-02-121-0/+5
| | | | | | | | | | | | | | | | blacklisted files
* | | | added topsys.stp to examples (profiling)ddomingo2009-02-123-12/+143
|/ / /
* | | Use kernel stack backtrace support when availableTim Moore2009-02-116-2/+113
| | | | | | | | | | | | | | | Define new functions that use the kernel support to do a backtrace of other tasks than current.
* | | Server response is no longer signed. Passed as a zip archive instead.Dave Brolley2009-02-114-47/+56
| | |
* | | Fixed __stp_utrace_attach by always checking for mm.David Smith2009-02-112-5/+9
| | | | | | | | | | | | | | | | | | | | | 2009-02-11 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_attach): Still checks for mm after checking task's flags for PF_KTHREAD.
* | | Probe only calls and not inlines in functioncallcount.stpAnanth N Mavinakayanahalli2009-02-111-1/+1
| | |
* | | Merge branch 'update_visitor'Josh Stone2009-02-105-603/+595
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings a new update_visitor that makes it easier to traverse the parse tree and modify parts of it as necessary. I wrote this as part of my in-progress work to allow @cast() expansion, but I was able to apply it to the dwarf/etc. target variable expanders and to the optimization stages. I think the resulting code is more predictable and easier to follow... Conflicts: ChangeLog (bumped my commit dates to push dates...)
| * | | Simplify void_statement_reducerJosh Stone2009-02-102-94/+68
| | | | | | | | | | | | | | | | * elaborate.cxx (void_statement_reducer): Convert to an update_visitor.
| * | | Simplify dead_stmtexpr_removerJosh Stone2009-02-104-59/+45
| | | | | | | | | | | | | | | | | | | | | | | | * staptree.h (update_visitor::require): Add a clearok parameter for optimizing traversers to signal that they're ready for NULL back. * elaborate.cxx (dead_stmtexpr_remover): Convert to an update_visitor.
| * | | Simplify dead_assignment_removerJosh Stone2009-02-102-108/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By converting to an update_visitor, we now get full statement coverage in this optimizer for free. * elaborate.cxx (dead_assignment_remover): Convert into an update_visitor and remove its now-redundant traversal methods.
| * | | Expand probe variables without a deep copyJosh Stone2009-02-102-50/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * tapsets.cxx (var_expanding_copy_visitor): This struct becomes var_expanding_visitor and inherits from update_visitor instead of deep_copy_visitor. Each of the probe-type variants of this are also no longer copiers.
| * | | Create update_visitor for modifying treesJosh Stone2009-02-103-209/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * staptree.h (update_visitor): A new visitor to make it easier to rewrite parts of a probe or function without making a full copy. * staptree.cxx (update_visitor::*): Each child is recursed with a require() call, and then the parent returns itself with provide(). * staptree.h (deep_copy_visitor): Inherit from update_visitor to get the recursive descent while updating nodes. * staptree.cxx (deep_copy_visitor::*): Use the implicit copy constructors to copy all fields, then defer to update_visitor for the recursion. Referents are still cleared from the copies of symbols and function calls.
| * | | Simplify require() and provide()Josh Stone2009-02-104-186/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * staptree.h (require, provide): Simplify stack operations with less pointer magic, and move to be deep_copy_visitor members. * staptree.h (deep_copy_visitor::deep_copy): Templatize * staptree.cxx, tapsets.cxx: Refactor require/provide callers
* | | | added section on how to monitor polling (testsuite/profiling/timeout.stp)ddomingo2009-02-112-0/+138
| | | |
* | | | corrected author nameddomingo2009-02-111-0/+10
| | | |
* | | | corrected author nameddomingo2009-02-111-1/+1
| | | |
* | | | Remove profile.exp and profile.stp.William Cohen2009-02-103-50/+5
| | | |
* | | | Move crash.exp and crash.sh to systemtap.base directory.William Cohen2009-02-103-0/+5
| | | |
* | | | fix segv that sometimes occurs on buildok/nfs-all-probes.stp on 2.6.29ish ↵Frank Ch. Eigler2009-02-102-1/+6
| | | | | | | | | | | | | | | | kernels
* | | | Fixed typo in last change.David Smith2009-02-102-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-10 David Smith <dsmith@redhat.com> * task_finder.c (stap_utrace_detach_ops): Fixed typo. (__stp_utrace_attach): Ditto.
* | | | Ignores kernel threads (by checking for PF_KTHREAD).David Smith2009-02-102-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-10 David Smith <dsmith@redhat.com> * task_finder.c (stap_utrace_detach): Ignores kernel threads by checking task's flags for PF_KTHREAD. (stap_utrace_detach_ops): Ditto. (__stp_utrace_attach): Ditto.
* | | | BZ484506, added yum setup instructions for RHELddomingo2009-02-101-1/+15
| | | |
* | | | Merge branch 'master' of ssh://sources.redhat.com/git/systemtapddomingo2009-02-1012-45/+150
|\ \ \ \
| * | | | Move poll_map.exp and poll_map.stp to systemtap.base directory.William Cohen2009-02-093-0/+5
| | | | |
| * | | | process.create: fix the new_pid read orderJosh Stone2009-02-092-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * process.stp (process.create): Read the task pid *after* the task pointer is checked for errors. This is to fix a problem reported on the mailing list: http://sources.redhat.com/ml/systemtap/2009-q1/msg00403.html CC: Luis Fernando Muñoz Mejías <Luis.Fernando.Munoz.Mejias@cern.ch>
| * | | | Revised version of kmalloc-top in systemtap.examples.William Cohen2009-02-098-44/+139
| | | | |
* | | | | minor revisionsddomingo2009-02-091-6/+5
|/ / / /
* | | | Clean up the autoconf cachingJosh Stone2009-02-077-97/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the stapconf caching process quite a bit more transparent. The options are now cached in a header file as #defines, and this header file is a normal build dependency instead of calling so many make $(shell ...) commands. * buildrun.cxx (compile_pass): Pull in autoconf options in a header of #defines rather than -DXXX, and make that header a build dependency. * buildrun.cxx (output_autoconf): New function to consolidate the computation of each autoconf test. * cache.cxx (add_to_cache, get_from_cache, clean_cache): Start treating the stapconf header as a first-class cached item. * cache.h: Move definitions of things only needed in cache.cxx * hash.cxx (find_stapconf_hash): Generate stapconf_name as a .h now. * main.cxx (main): Default the stapconf_name based on getpid().
* | | | Fold the systemtap.samples/iotask*.stp into systemtap.examples/io/iostats.stp.William Cohen2009-02-069-86/+110
| | | | | | | | | | | | | | | | Regenerate the catalog information.
* | | | Save kernel autoconf options in a cache fileJosh Stone2009-02-064-73/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're getting enough autoconf tests now that it's a significant chunk of the build time. Adding this cache shaves several seconds off for me. * hash.cxx (find_hash): Compute a separate script-independent hash for caching autoconf values, saved in session.stapconf_path. * buildrun.cxx (compile_pass): Tweak the Makefile to read/save the autoconf values in the cache directory
* | | | Merge branch 'master' of ssh://sources.redhat.com/git/systemtapWilliam Cohen2009-02-065-2/+24
|\ \ \ \
| * | | | 2.6.29rc build fix: autoconf for proc_dir_entry->owner going awayFrank Ch. Eigler2009-02-065-2/+24
| | | | |
* | | | | Removed syscalls.stp, syscalls1.exp, and syscalls2.exp.William Cohen2009-02-064-36/+6
| | | | |
* | | | | Move symbols.exp and symbols.stp to systemtap.context directory.William Cohen2009-02-063-0/+5
|/ / / /
* | | | Make publicanize.sh executable.William Cohen2009-02-062-0/+4
| | | |
* | | | Tapset Ref Guide: corrected authorgroup cleanup perl script, added support ↵ddomingo2009-02-061-2/+8
| | | | | | | | | | | | | | | | for forced Synopsis
* | | | Tapset Ref Guide: formatted comments, added other values from man pageddomingo2009-02-061-131/+158
| | | |
* | | | Add contrib tag to quiet warnings.William Cohen2009-02-052-0/+5
| | | |
* | | | copyright year bumpFrank Ch. Eigler2009-02-051-2/+2
| | | |
* | | | Merge branch 'master' of ssh://sources.redhat.com/git/systemtapWilliam Cohen2009-02-056-0/+36
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | PR9740/9816? - workaround for kernel valloc bugFrank Ch. Eigler2009-02-056-0/+36
| |/ / /
* | | | Include PR9756 in change log.William Cohen2009-02-051-0/+1
| | | |
* | | | Correct footers for systemtap function and probe man pages.William Cohen2009-02-052-4/+8
|/ / /
* | | Minor correction for signal.stp chapter.William Cohen2009-02-052-4/+7
| | |
* | | started fixing signal.stp comments for documentationddomingo2009-02-051-63/+89
| | |
* | | enter lines to wrap emddomingo2009-02-051-1/+13
| | |