OSDN Git Service

Don't abort when failed to write tracing message.
authorYabin Cui <yabinc@google.com>
Wed, 22 Jul 2015 00:27:54 +0000 (17:27 -0700)
committerYabin Cui <yabinc@google.com>
Thu, 23 Jul 2015 19:24:42 +0000 (12:24 -0700)
commitb8320b8021856ae61b3012b82c2ae96df97e3ec4
tree4acaff966d14dceac7a0dba0e3c9e4bf20c3b1ac
parent7e52dbe4d24daf61a8bd4bbbd0761c55468c3c7e
Don't abort when failed to write tracing message.

Also make the code thread-safe with lock.

Bug: 20666100
Change-Id: I0f331a617b75280f36179c187418450230d713ef
(cherry picked from commit 166112531558a1d4ea179c29147f27db7045db22)
libc/bionic/bionic_systrace.cpp