commit | b485395e74c5132b19dcf029742395c8c07bccd6 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Tue Mar 17 07:56:32 2015 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Wed Apr 01 19:41:59 2015 +0000 |
tree | 70ebd1139d4967341411a4f4c1826608d0ab5723 | |
parent | 1463b3d83f17a4cfb108c02b1b7e762249e829ac [diff] [blame] |
logd: syscall optimization - prset(PR_SET_NAME) call once - No need to call getuid(), should be AID_LOGD Change-Id: I4dde0b178bc84e711b355cd7677b0dbf905a0634
diff --git a/logd/LogStatistics.cpp b/logd/LogStatistics.cpp index accd660..6bb0b40 100644 --- a/logd/LogStatistics.cpp +++ b/logd/LogStatistics.cpp
@@ -303,5 +303,5 @@ } fclose(fp); } - return getuid(); // associate this with the logger + return AID_LOGD; // associate this with the logger }