diff options
author | Colin Cross <ccross@android.com> | 2016-01-29 16:21:31 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2016-02-02 13:55:42 -0800 |
commit | 7a106f7c1220fc749ca137675ac7b4c915418f47 (patch) | |
tree | 446dd85365fb7947247c4bf356d5db6cce8c12ee /libutils/ProcessCallStack.cpp | |
parent | a9352202dd52a404199fbdca160d9d2d0992cf63 (diff) |
liblog: remove strdup from logging calls
strdup to a static pointer is unnecessary, strlcpy into a static buffer
instead. Avoids allocations in the ALOG* path, allowing liblog to be
used by libmemleak.
Change-Id: Ie0986da27c1fc5eb8ce4ebb076b513be8e1ee676
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions