public inbox for systemtap-cvs@sourceware.org help / color / mirror / Atom feed
From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.8-178-g6561d8d Date: Sat, 11 Aug 2012 01:04:00 -0000 [thread overview] Message-ID: <20120811010444.8045.qmail@sourceware.org> (raw) 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
reply other threads:[~2012-08-11 1:04 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20120811010444.8045.qmail@sourceware.org \ --to=jistone@sourceware.org \ --cc=systemtap-cvs@sourceware.org \ --cc=systemtap@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).