summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Ferris2017-04-25 13:23:10 -0500
committerChristopher Ferris2017-05-02 20:38:46 -0500
commitac225780dd6ccf217e5fb64c7af8f41f9c54f4a1 (patch)
treee1d7d6ac5060a784e0ed675e3dfb6ef7da963e8a /debuggerd/util.cpp
parent8fc6cc8910dbb4c77333aa432b4732237157ed0b (diff)
downloadplatform-system-core-ac225780dd6ccf217e5fb64c7af8f41f9c54f4a1.tar.gz
platform-system-core-ac225780dd6ccf217e5fb64c7af8f41f9c54f4a1.tar.xz
platform-system-core-ac225780dd6ccf217e5fb64c7af8f41f9c54f4a1.zip
Move libc_logging to libasync_safe.
Move the name of the "private/libc_logging.h" header to <async_safe/log.h>. For use of libc_malloc_debug_backtrace, remove the libc_logging library. The library now includes the async safe log functions. Remove the references to libc_logging.cpp in liblog, it isn't needed because the code is already protected by a check of the __ANDROID__ define. Test: Compiled and boot bullhead device. Test: Run debuggerd unit tests. Test: Run liblog unit tests on target and host. Test: Run libmemunreachable unit tests (these tests are flaky though). Change-Id: Ie79d7274febc31f210b610a2c4da958b5304e402
Diffstat (limited to 'debuggerd/util.cpp')
-rw-r--r--debuggerd/util.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/debuggerd/util.cpp b/debuggerd/util.cpp
index 4c015d70a..32d2f1880 100644
--- a/debuggerd/util.cpp
+++ b/debuggerd/util.cpp
@@ -24,8 +24,6 @@
24#include <cutils/sockets.h> 24#include <cutils/sockets.h>
25#include <debuggerd/protocol.h> 25#include <debuggerd/protocol.h>
26 26
27#include "private/libc_logging.h"
28
29using android::base::unique_fd; 27using android::base::unique_fd;
30 28
31ssize_t send_fd(int sockfd, const void* data, size_t len, unique_fd fd) { 29ssize_t send_fd(int sockfd, const void* data, size_t len, unique_fd fd) {