c19588cfc81e4e464040a2a556fc970f5039cc3b |
|
29-Apr-2016 |
sergeyv <sergeyv@google.com> |
atrace: read package names from multiple sysprops bug: 28200530 Change-Id: I4597a84f4fb16098b0e57684cde5e57c1f41eed5
/system/core/libcutils/trace-dev.c
|
82d84897b1f17ccda1e32098af11a25bd9f6127a |
|
24-Feb-2016 |
Christopher Ferris <cferris@google.com> |
Fix incorrect handling of snprintf return value. The code assumed that snprintf would never return a value less than the passed in size of the buffer. This is not accurate, so fix all of the places this assumptions is made. Also, if the name is too large, then truncate just the name to make everything fit. Added a new set of tests for this code. Verified that the old code passes on the _normal and _exact version of the tests, but fails with the FORTIFY error on the _truncated version of the tests. All tests pass on the new code. Bug: 27324359 (cherry picked from commit 626efb78a6e1f0b2d637368f1eba175cfe89fb1c) Change-Id: Iba60a926cf5a1d6b517a6bfd8c797d724f093010
/system/core/libcutils/trace-dev.c
|
dee1ef48a97e5412b3bd1d7e5a3e2b81f3741dc4 |
|
16-Dec-2015 |
Nick Kralevich <nnk@google.com> |
trace-dev.c: more O_CLOEXEC Stop the file descriptors from leaking. Change-Id: Ib5ca1c2e5031fbec8751bde9e86b32e51e10fcbc
/system/core/libcutils/trace-dev.c
|
a8ac32c7815569add9ed3d729864d3b9cdbb5fce |
|
15-Apr-2015 |
Yabin Cui <yabinc@google.com> |
Move trace.h to stdatomic. Bug: 20262261 Change-Id: Idaf984786804eb76c285f38b11abbbc0d3706509
/system/core/libcutils/trace-dev.c
|
7d451ab96d3999cdcada940147a36505cfe8c57b |
|
21-Mar-2015 |
Richard Uhler <ruhler@google.com> |
Define atrace_* functions for both target and host. This change defines atrace_* functions for the host that act as no-ops, which makes it easier to add tracing in ART. Change-Id: I89397e83986686a2b6a6f245c25017eb379081b1
/system/core/libcutils/trace-dev.c
|