diff options
author | Christopher Ferris <cferris@google.com> | 2013-10-30 21:28:21 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-10-30 21:28:22 +0000 |
commit | 8c58086c54a23d33e915852a1355a171b09679cc (patch) | |
tree | 9eaeff7f903e0b3d2776420914e3533bc735faec /libbacktrace/Backtrace.h | |
parent | 36d44740dd045403ae615b8dd6dac8b9a4e9f5bf (diff) | |
parent | 8ed46278bee3cfc4c216f3a1524744019b693200 (diff) | |
download | system_core-8c58086c54a23d33e915852a1355a171b09679cc.zip system_core-8c58086c54a23d33e915852a1355a171b09679cc.tar.gz system_core-8c58086c54a23d33e915852a1355a171b09679cc.tar.bz2 |
Merge "More libbacktrace fixes."
Diffstat (limited to 'libbacktrace/Backtrace.h')
-rw-r--r-- | libbacktrace/Backtrace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbacktrace/Backtrace.h b/libbacktrace/Backtrace.h index b89bc89..00f0a10 100644 --- a/libbacktrace/Backtrace.h +++ b/libbacktrace/Backtrace.h @@ -21,6 +21,10 @@ #include <sys/types.h> +// Macro to log the function name along with the warning message. +#define BACK_LOGW(format, ...) \ + ALOGW("%s: " format, __PRETTY_FUNCTION__, ##__VA_ARGS__) + class BacktraceImpl { public: virtual ~BacktraceImpl() { } |