This is the mail archive of the systemtap-cvs@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-216-g5f03c7b


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, master has been updated
       via  5f03c7bdb5d1f09ff888a73751f0786d04fede8c (commit)
       via  27592095d0911f5f111285068b41e0d6162ec6d7 (commit)
       via  ac9ca50a303ded7c442cf0b672a748c8f5c8aa6a (commit)
       via  b4b59d474c101a2e6ef4b81a19e868dee071af15 (commit)
       via  ebf7792e5271dcec0fec9cbe3dd7fd2e2cddc8c2 (commit)
       via  809d0608bd20f5832d4166b1434c1fcfdb1a8f98 (commit)
       via  6d233b0333442b76f7bf28fa3a3cb6912c5b6f46 (commit)
       via  efacc8a4bd6ba41a85e0f8a5dd229f88309c7008 (commit)
       via  18dac8308022c057b08e8666fc7ce7f40e795646 (commit)
       via  9a4b0e90a9dfff4044baba35df246688444f6c27 (commit)
      from  7ab6b3a96e0cce10a1ed3f694fe857fafd1454c8 (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 5f03c7bdb5d1f09ff888a73751f0786d04fede8c
Author: Mark Wielaard <mjw@redhat.com>
Date:   Mon Jun 7 16:20:56 2010 +0200

    PR11665 Add umodname(addr) tapset function.
    
    * runtime/sym.c (_stp_tf_mmap_cb): Always register module name in vma_map.
      (_stp_module_name): New function.
    * tapset/ucontext.stp: New tapset.
    * testsuite/buildok/ucontext.stp: New pass 4 test.
    * testsuite/systemtap.context/usymbols.exp: Extend pass 5 test to include
      umodname(handler).

commit 27592095d0911f5f111285068b41e0d6162ec6d7
Author: Mark Wielaard <mjw@redhat.com>
Date:   Mon Jun 7 15:09:07 2010 +0200

    Increase TASK_FINDER_VMA_ENTRY_ITEMS default.
    
    Somewhat arbitrary default, this is often way too much for tracking
    single process, but often too little when tracking whole system.
    FIXME Would be nice to make this dynamic. PR11671
    
    * runtime/task_finder_vma.c: Clean up some (bad) comments.
      #define TASK_FINDER_VMA_ENTRY_ITEMS 1536.

commit ac9ca50a303ded7c442cf0b672a748c8f5c8aa6a
Author: Mark Wielaard <mjw@redhat.com>
Date:   Mon Jun 7 13:16:09 2010 +0200

    Activate task finder vma tracker through tapset embedded-c /* pragma:vma */
    
    The task finder vma tracker, _stp_sym_init(), was supposed to be activated
    through defining STP_NEED_VMA_TRACKER in an included tapset. This didn't
    actually work, since the define came too late. The _stp_sym_init() call
    was however often triggered by the fact that any of these vma tracking
    using tapset functions were used through task_finder_derived_probe_groups.
    This patch makes it so that the vma tracker always gets activated when
    they are used with any kind of probe.
    
    * session.h (systemtap_session): New need_vma_tracker boolean.
    * session.cxx (initialize): Initialize need_vma_tracker to false.
    * elaborate.cxx (embeddedcode_info): New functioncall_traversing_visitor.
      (embeddedcode_info_pass): New semantic pass.
      (semantic_pass): Call embeddedcode_info_pass.
    * translate.cxx (c_unparser::emit_module_init): Check whether
      session->need_vma_tracker is set to decide emitting _stp_sym_init.
      (c_unparser::emit_module_exit): Likewise for teardown.
    * tapset/ucontext-symbols.stp: Remove STP_NEED_VMA_TRACKER define. Tag all
      embedded-c functions with /* pragma:vma */.
    * tapset/ucontext-unwind.stp: Likewise.
    * runtime/task_finder.c (__stp_task_finder_started): New static int.
      (stap_start_task_finder): Check and set __stp_task_finder_started.
      (stap_stop_task_finder): Likewise.

commit b4b59d474c101a2e6ef4b81a19e868dee071af15
Author: Mark Wielaard <mjw@redhat.com>
Date:   Fri Jun 4 21:22:55 2010 +0200

    Remove unused vm_pgoff tracking from task_finder_vma.
    
    * runtime/task_finder_vma.c (__stp_tf_vma_entry): Remove vm_pgoff field.
      (stap_add_vma_map_info): Remove vm_pgoff argument.
      (stap_remove_vma_map_info): Likewise.
      (stap_find_vma_map_info_user): Likewise.
    * runtime/sym.c (_stp_tf_mmap_cb): Adjust vma_map callers.
      (_stp_module_relocate): Likewise.
      (_stp_mod_sec_lookup): Likewise.
    * runtime/unwind.c (adjustStartLoc): Likewise.

commit ebf7792e5271dcec0fec9cbe3dd7fd2e2cddc8c2
Author: Mark Wielaard <mjw@redhat.com>
Date:   Fri Jun 4 20:16:50 2010 +0200

    Don't try to be clever with dentry lifetime.
    
    Make caller of task_finder_vma responsible for dentry lifetime.
    Must call stap_remove_vma_map_info when dentry goes away. Which
    is what always happens because that is when the vma is unmapped.
    
    * runtime/task_finder.c (__stp_call_mmap_callbacks_with_addr): Don't dget
      and don't dput.
      (__stp_call_mmap_callbacks_for_task): Only dget/dput for non-d_path case.
    * runtime/task_finder_vma.c (stap_add_vma_map_info): Don't dget dentry.
      (stap_remove_vma_map_info): Don't dput dentry.
      (stap_drop_vma_maps): Likewise.

commit 809d0608bd20f5832d4166b1434c1fcfdb1a8f98
Author: Mark Wielaard <mjw@redhat.com>
Date:   Fri Jun 4 18:59:20 2010 +0200

    Remove unused arguments from stap_remove_vma_map_info.
    
    * runtime/task_finder_vma.c (stap_remove_vma_map_info): Drop vm_end and
      vm_pgoff arguments.
    * runtime/sym.c (_stp_tf_munmap_cb): Don't pass addr + length and 0.

commit 6d233b0333442b76f7bf28fa3a3cb6912c5b6f46
Author: Mark Wielaard <mjw@redhat.com>
Date:   Fri Jun 4 18:51:21 2010 +0200

    Remove bogus (but wrongly used!) addr field from __stp_tf_vma_entry.
    
    * runtime/task_finder_vma.c (__stp_tf_vma_entry): Remove addr field.
      (__stp_tf_get_vma_map_entry_internal): Compare vm_start, not addr.
      (stap_find_vma_map_info): Rename vm_addr argument to addr.

commit efacc8a4bd6ba41a85e0f8a5dd229f88309c7008
Author: Mark Wielaard <mjw@redhat.com>
Date:   Fri Jun 4 17:02:10 2010 +0200

    Track dentry for file backed vma in task_finder.
    
    * runtime/task_finder.c (stap_task_finder_mmap_callback): Provide dentry.
      (__stp_call_mmap_callbacks): Take dentry.
      (__stp_call_mmap_callbacks_with_addr): Collect dentry.
      (__stp_call_mmap_callbacks_for_task): Likewise.
    * runtime/task_finder_vma.c (__stp_tf_vma_entry): Add dentry.
      (stap_add_vma_map_info): Take and store dentry.
      (stap_remove_vma_map_info): Remove dentry.
      (stap_find_vma_map_info): Provide dentry.
      (stap_find_vma_map_info_user): Likewise.
      (stap_drop_vma_maps): Remove dentries.
    * runtime/sym.c (_stp_tf_mmap_cb): Accept dentry and store it in vma_map.
      (_stp_module_relocate): Call stap_find_vma_map_info_user with NULL dentry.
      (_stp_mod_sec_lookup): Call stap_find_vma_map_info with NULL dentry.
    * runtime/unwind.c (adjustStartLoc): Provide NULL dentry.
    * runtime/kprobes-common.c (stap_kprobe_mmap_found): Accept dentry.
    * runtime/kprobes-common.h (stap_kprobe_mmap_found): Likewise.
    * runtime/uprobes-common.c (stap_uprobe_mmap_found): Likewise.
    * runtime/uprobes-common.h (stap_uprobe_mmap_found): Likewise.

commit 18dac8308022c057b08e8666fc7ce7f40e795646
Author: Mark Wielaard <mjw@redhat.com>
Date:   Fri Jun 4 15:06:46 2010 +0200

    Rename __stp_tf_vma_initialize to stap_initialize_vma_map.
    
    Makes it clear this isn't one of the internal task_finder_vma functions.
    
    * runtime/sym.c (_stp_sym_init): Call stap_initialize_vma_map.
    * runtime/task_finder_vma.c (stap_initialize_vma_map): Renamed from
      __stp_tf_vma_initialize.

commit 9a4b0e90a9dfff4044baba35df246688444f6c27
Author: Mark Wielaard <mjw@redhat.com>
Date:   Fri Jun 4 14:39:34 2010 +0200

    Removed unused task_finder_vma code.
    
    * runtime/task_finder_vma.c (__stp_tf_vma_table, __stp_tf_vma_hash,
      __stp_tf_get_vma_entry, __stp_tf_add_vma, __stp_tf_remove_vma_entry):
      Unused, so removed.

-----------------------------------------------------------------------

Summary of changes:
 elaborate.cxx                                      |   46 ++++++
 runtime/kprobes-common.c                           |    2 +-
 runtime/kprobes-common.h                           |    2 +-
 runtime/sym.c                                      |   56 ++++++--
 runtime/task_finder.c                              |   33 +++-
 runtime/task_finder_vma.c                          |  157 ++++----------------
 runtime/uprobes-common.c                           |    2 +-
 runtime/uprobes-common.h                           |    2 +-
 session.cxx                                        |    1 +
 session.h                                          |    1 +
 tapset/ucontext-symbols.stp                        |   12 +-
 tapset/ucontext-unwind.stp                         |   12 +-
 tapset/ucontext.stp                                |   30 ++++
 .../{nfsderrno-embedded.stp => ucontext.stp}       |    2 +-
 testsuite/systemtap.context/usymbols.exp           |    6 +-
 translate.cxx                                      |   16 ++-
 16 files changed, 206 insertions(+), 174 deletions(-)
 create mode 100644 tapset/ucontext.stp
 copy testsuite/buildok/{nfsderrno-embedded.stp => ucontext.stp} (54%)


hooks/post-receive
--
systemtap: system-wide probe/trace tool


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]