summaryrefslogtreecommitdiff
path: root/sal/rtl/ustrbuf.cxx
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2013-08-02 20:49:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-08-03 09:32:03 +0200
commiteeb3b8dc5c771915f9c011e95ae20babdf70bd02 (patch)
treef1602f8e92a9a0f9873bf0335e03cf23433b9e34 /sal/rtl/ustrbuf.cxx
parentc2e2fbe6601ef14122371c380d91a48425a2b669 (diff)
Add SDT probes for RTL_LOG_STRING_NEW/DELETE.
Change-Id: I938259f90aee9d277c9ff5b72c9120b93311cbd3 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/rtl/ustrbuf.cxx')
-rw-r--r--sal/rtl/ustrbuf.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/rtl/ustrbuf.cxx b/sal/rtl/ustrbuf.cxx
index 9010a0ea0cdd..30f4efe39c7f 100644
--- a/sal/rtl/ustrbuf.cxx
+++ b/sal/rtl/ustrbuf.cxx
@@ -24,6 +24,10 @@
#include <rtl/ustrbuf.hxx>
#include <strimp.hxx>
+#if USE_SDT_PROBES
+#define RTL_LOG_STRING_BITS 16
+#endif
+
void SAL_CALL rtl_uStringbuffer_newFromStr_WithLength( rtl_uString ** newStr,
const sal_Unicode * value,
sal_Int32 count)