diff options
author | Mark Wielaard <mark@klomp.org> | 2013-08-02 20:49:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-08-03 09:32:03 +0200 |
commit | eeb3b8dc5c771915f9c011e95ae20babdf70bd02 (patch) | |
tree | f1602f8e92a9a0f9873bf0335e03cf23433b9e34 /sal/rtl/string.cxx | |
parent | c2e2fbe6601ef14122371c380d91a48425a2b669 (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/string.cxx')
-rw-r--r-- | sal/rtl/string.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sal/rtl/string.cxx b/sal/rtl/string.cxx index a68c0932d115..313706d797e8 100644 --- a/sal/rtl/string.cxx +++ b/sal/rtl/string.cxx @@ -61,10 +61,9 @@ static rtl_String const aImplEmpty_rtl_String = #define IMPL_RTL_STRINGDATA rtl_String #define IMPL_RTL_EMPTYSTRING aImplEmpty_rtl_String -#undef RTL_LOG_STRING_NEW -#define RTL_LOG_STRING_NEW(s) -#undef RTL_LOG_STRING_DELETE -#define RTL_LOG_STRING_DELETE(s) +#if USE_SDT_PROBES +#define RTL_LOG_STRING_BITS 8 +#endif /* ======================================================================= */ |