summaryrefslogtreecommitdiffstats
path: root/liblog/logd_write.c
Commit message (Collapse)AuthorAgeFilesLines
* liblog: whitespace cleanupMark Salyzyn2014-01-271-2/+2
| | | | | | | | | - change cutils to liblog directory path - change tabs to spaces (cherry picked from commit c1215c0b46576771370ceb4e1b1d8fc5a7034cfd) Change-Id: I7d9db1e2b817ba0ec9a224340c5c7535a2387fd5
* Move liblog headers to system/core/include/logColin Cross2013-07-241-3/+3
| | | | | | | | | Move the liblog headers to log/ instead of cutils/ to complete the separation of libcutils and liblog. cutils/log.h still exists and includes log/log.h in order to support the many existing modules that use cutils/log.h. Change-Id: I2758c9f4aedcb809ca7ba8383d0f55041dd44345
* liblog: fix fd leakageNick Kralevich2013-03-151-1/+3
| | | | | | | | | | | | | | | | | | | | | File descriptors remain open across an exec unless FD_CLOEXEC is set. Add O_CLOEXEC to the open() call to prevent file descriptor leakage. In particular, the following program will eventually run out of file descriptors: int main(int argc, char **argv) { printf("===== entering main =====\n"); ALOGW("entering main"); system("ls -l /proc/self/fd/"); execv(argv[0], argv); printf("exec failed\n"); return -1; } Change-Id: I5be43ab3b9f82a05f242b1f586454c50568af388
* Use Rlog instead of LogWink Saville2012-12-061-3/+14
| | | | | | | Changing __android_log_write so the tag warns users relying on the tag to direct log output to the radio buffer to instead use Rlog or RLOG. Change-Id: I04b7bb5e620c1ab22b9b495382a252b539947e28
* Collapse IMS tags into a prefix check.Jeff Sharkey2012-08-131-6/+4
| | | | | Bug: 6497974 Change-Id: I7fba1a07e2552ce16131b81f30d18eb3192de7ef
* Force IMS logging into radio log.Jeff Sharkey2012-07-171-2/+6
| | | | | Bug: 6497974 Change-Id: I4691f287b0abdce03ff211bd5b5b0037b8818ec9
* Fix SDK build.Brett Chabot2011-06-271-4/+0
| | | | | | Revert "Fix build warnings" This reverts commit 590e364868b6466e169f2647e95462ba2558dd00.
* Fix build warningsGlenn Kasten2011-06-241-0/+4
| | | | Change-Id: Ie24cf8e729813e4527c698fc7c1502a1efbc63e5
* Fixed LOG_ASSERT() compilation errors in native debug builds.Chris Pearson2010-07-161-7/+18
| | | | | | | | | | | | Invoking LOG_ASSERT, LOG_ALWAYS_FATAL or LOG_ALWAYS_FATAL_IF variadic macros without the printf format string arg caused compilation errors because the variable arg list (__VA_ARGS__) was eventually passed to __android_log_assert() func in place of a required parameter. This error only occured in debug builds because LOG_ASSERT() is a no-op in release builds. This change allows debug builds to succeed. Change-Id: I7e7b7de3e501133468ce083e0e0d6e699dd59667 Signed-off-by: Chris Pearson <christopherx.c.pearson@intel.com>
* remove stray printfs.Joe Onorato2010-03-031-2/+0
|
* Make logcat print both the main and system buffers by default. Make SLOGx ↵Joe Onorato2010-03-011-11/+51
| | | | macros work.
* Route all log tags with "RIL" prefix to radio buffer.John Michelau2009-08-191-5/+1
|
* AI 144245: Fix merge conflict for megering in the CDMA changes in to master ↵Wink Saville2009-04-021-1/+5
| | | | | | from donutburger. Automated import of CL 144245
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+230
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-230/+0
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-131-1/+1
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-0/+1
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+229