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.8-178-g6561d8d


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  6561d8d1c4246d6a9aa21a5df36066406f26f0b3 (commit)
       via  8987b3050c167457ef8dfe93ce58adb4d1d441b1 (commit)
       via  15ceae269f2f980ca10439a215cf77148eac9e5d (commit)
      from  beb59e38fe62473aceebbf2bb275361841435c3f (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 6561d8d1c4246d6a9aa21a5df36066406f26f0b3
Author: Josh Stone <jistone@redhat.com>
Date:   Fri Aug 10 17:46:13 2012 -0700

    PR14396: Add pretty-printing support for UTF
    
    * dwarf_wrappers.h: Define DW_ATE_UTF if elfutils < 0.155.
    * tapsets.cxx (dwarf_pretty_print::recurse_base): Print UTF with %#c
      too. This will generally only work with the ASCII subset for now...
      (dwarf_pretty_print::print_chars): Match strings by char/UTF encoding
      types, rather than by type name, and use the byte_size to select the
      correct string dereferencing function.
    * testsuite/systemtap.base/utf_pretty.*: Test it!

commit 8987b3050c167457ef8dfe93ce58adb4d1d441b1
Author: Josh Stone <jistone@redhat.com>
Date:   Fri Aug 10 15:15:29 2012 -0700

    PR14396: Add UTF-16/32 conversion functions
    
    * runtime/stp_string.c (_stp_convert_utf32): New, write the given
      UTF-32 code point as UTF-8 in the given buffer.
    * tapset/linux/conversions.stp (kernel_string_utf32): New, read and
      convert a UTF-32 string from kernel memory.
      (kernel_string_utf16): Same for UTF-16, handling surrogate pairs.
      (kernel_string2_utf32, kernel_string2_utf16): Same w/ custom error.
    * tapset/linux/uconversions.stp: All of the above for user memory.
    * testsuite/buildok/conversions*.stp: Add build tests.
    * testsuite/systemtap.base/utf_*: New runtime tests.

commit 15ceae269f2f980ca10439a215cf77148eac9e5d
Author: Josh Stone <jistone@redhat.com>
Date:   Fri Aug 10 14:50:41 2012 -0700

    loc2c-runtime.h: Add uread() and uwrite()
    
    These are the userspace equivalents to kread() and kwrite().
    
    For the (unused) STAPCONF_PROBE_KERNEL case, just define them as direct
    equivalents.  Also add in missing kderef and store_kderef the same way.
    
    For the architecture-implemented case, they are nearly identical to
    kread and kwrite, just s/kderef/uderef/.  So to avoid duplication, I've
    added in a layer of macro indirection to pass in the appropriate deref
    function.  (Nevermind that the [ku]derefs are often identical -- oh,
    what a tangled web we weave...)

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

Summary of changes:
 dwarf_wrappers.h                                   |    4 +
 runtime/loc2c-runtime.h                            |   36 ++++---
 runtime/stp_string.c                               |   61 +++++++++++
 tapset/linux/conversions.stp                       |  108 +++++++++++++++++++
 tapset/linux/uconversions.stp                      |  112 ++++++++++++++++++++
 tapsets.cxx                                        |   62 ++++++++---
 testsuite/buildok/conversions-embedded.stp         |    4 +
 testsuite/buildok/conversions.stp                  |    4 +
 testsuite/systemtap.base/utf_kernel.exp            |    6 +
 testsuite/systemtap.base/utf_kernel.stp            |   39 +++++++
 testsuite/systemtap.base/utf_pretty.cxx            |   22 ++++
 .../{cast-user.exp => utf_pretty.exp}              |   13 +--
 testsuite/systemtap.base/utf_pretty.stp            |    5 +
 testsuite/systemtap.base/utf_user.c                |   22 ++++
 .../systemtap.base/{cast-user.exp => utf_user.exp} |   12 +-
 testsuite/systemtap.base/utf_user.stp              |   15 +++
 16 files changed, 481 insertions(+), 44 deletions(-)
 create mode 100644 testsuite/systemtap.base/utf_kernel.exp
 create mode 100644 testsuite/systemtap.base/utf_kernel.stp
 create mode 100644 testsuite/systemtap.base/utf_pretty.cxx
 copy testsuite/systemtap.base/{cast-user.exp => utf_pretty.exp} (50%)
 create mode 100644 testsuite/systemtap.base/utf_pretty.stp
 create mode 100644 testsuite/systemtap.base/utf_user.c
 copy testsuite/systemtap.base/{cast-user.exp => utf_user.exp} (66%)
 create mode 100644 testsuite/systemtap.base/utf_user.stp


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]