History log of /system/core/libcutils/trace-dev.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1f83aa424f537cf3f07e1d27dbbcc524818b5358 14-Apr-2017 Steven Moreland <smoreland@google.com> libcutils: compile with BOARD_VNDK_VERSION current

- moved __android_log_is_debuggable to a new public header
(log_properties.h)
- vendor version of sched_policy uses ALOG* instead SLOG*

Test: (sanity) liblog-unit-tests
Test: (sanity) libcutils_test (noting b/b/32972117, two tests continue
to fail)
Test: system/core as a whole makes with BOARD_VNDK_VERSION := current
now with no problems.
Test: boots/works on internal marlin
Bug: 33241851

Change-Id: I5bc1f348dc0f0c8814bec5b5c3d2c52c825ab640
/system/core/libcutils/trace-dev.c
b5aa4e712597ce5568e07050fa38ab852412e37a 29-Mar-2016 Mark Salyzyn <salyzyn@google.com> libcutils: use __android_log_is_debuggable()

Test: compile and boot smoke test
Bug: 27566046
Bug: 31456426
Change-Id: I8ee9d999a2e6a0336e45b6180ce6fd7975c113dc
/system/core/libcutils/trace-dev.c
ff2dcd9af994a23ed483939a416b48bdc10eefd5 29-Sep-2016 Mark Salyzyn <salyzyn@google.com> system/core Replace log/log.h with android/log.h

Should use android/log.h instead of log/log.h as a good example
to all others. Adjust header order to comply with Android Coding
standards.

Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I33a8fb4e754d2dc4754d335660c450e0a67190fc
/system/core/libcutils/trace-dev.c
23ed4c242a01052696dde84babd7631a7ec5a691 28-Sep-2016 Mark Salyzyn <salyzyn@google.com> libcutils: Replace cutils/log.h with android/log.h

Replace references to cutils/log.h and log/log.h with android/log.h.
Point cutils/log.h to android/log.h. Adjust header order to comply
with Android Coding standards.

Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I4b00c0dff3a0a50cbb54301fdc5a6c29c21dab65
/system/core/libcutils/trace-dev.c
9993e799f1bffc20837eaf4a0260152f58041bae 16-Sep-2016 Colin Cross <ccross@android.com> Hide warning in cutils/trace.h

system/core/include is included in the global include path using
-isystem, which hides all warnings. cutils/trace.h has an ignored
return value warning, move the implementation to trace-dev.c so it
doesn't cause warnings in every module that includes it in preparation
for moving from -isystem to -I.

Test: m -j native
Bug: 31492149
Change-Id: If8b3fe13059c9e59c2d5208294d427d84fa6e588
/system/core/libcutils/trace-dev.c
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