summaryrefslogtreecommitdiff
path: root/sal/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-08 11:22:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-10 06:31:33 +0000
commit56d071c10ca8016848f1f059aa3eb197fe928844 (patch)
tree956ba2f8f51a7845c603aa0875e83d40d8938e68 /sal/inc
parent014b9ac2e4ec22a1eed2fde806edd7a840035a45 (diff)
rename SAL_DEBUG_TRACE to SAL_DEBUG_BACKTRACE
since "trace" is such a generic term, this makes it easier to actually find the feature when you need it. And add feature to limit stack depth of the reported backtrace. Change-Id: Iab3e4ceb2e8480e7b5e2b920eb6c5d7631e21c43 Reviewed-on: https://gerrit.libreoffice.org/31752 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/inc')
-rw-r--r--sal/inc/misc.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/inc/misc.hxx b/sal/inc/misc.hxx
index b93868e1baab..440c00ce2548 100644
--- a/sal/inc/misc.hxx
+++ b/sal/inc/misc.hxx
@@ -12,7 +12,7 @@
#include <rtl/ustring.hxx>
/// Build a debugging backtrace from current PC location.
-rtl_uString *osl_backtraceAsString(void);
+rtl_uString *osl_backtraceAsString(int maxNoStackFramesToDisplay);
#endif // INCLUDED_SAL_INC_INTERNAL_MISC_H