diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-09-12 10:29:17 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2016-12-19 08:00:16 -0800 |
commit | 3296291cffd13af13ea9e60a8ac1138101cf8e4c (patch) | |
tree | 0726921364b561bf21935565907f67767a723b6e /logd/LogUtils.h | |
parent | 152b003bbfae22d10dd129d5f249daf957dc27c4 (diff) | |
download | system_core-3296291cffd13af13ea9e60a8ac1138101cf8e4c.tar.gz system_core-3296291cffd13af13ea9e60a8ac1138101cf8e4c.tar.bz2 system_core-3296291cffd13af13ea9e60a8ac1138101cf8e4c.zip |
logd: add android::sizesTotal() function
Test: gTest liblog-unit-tests, logd-unit-tests and logcat-unit-tests
Bug: 31456426
Change-Id: I6fb6cd589227fc43d22f9336e01f1bf7e3feb24c
Diffstat (limited to 'logd/LogUtils.h')
-rw-r--r-- | logd/LogUtils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/logd/LogUtils.h b/logd/LogUtils.h index d300a2a43..70f24e4d9 100644 --- a/logd/LogUtils.h +++ b/logd/LogUtils.h @@ -33,7 +33,9 @@ namespace android { char *uidToName(uid_t uid); void prdebug(const char *fmt, ...) __printflike(1, 2); -// Furnished in LogStatistics.cpp. Caller must own and free returned value +// Furnished in LogStatistics.cpp. +size_t sizesTotal(); +// Caller must own and free returned value char *pidToName(pid_t pid); char *tidToName(pid_t tid); |