diff options
author | Mark Salyzyn <salyzyn@google.com> | 2015-03-10 16:45:17 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2015-03-12 12:24:47 -0700 |
commit | 11e55cb9c1e5efe553e36f1b5c04ab21883f66e1 (patch) | |
tree | c1b58bc0ec2de3c0b2a84c26a7f796f56891785d /logd/LogBuffer.h | |
parent | 7e9fe7d86de665bcb2615d8c24de39416c48cdec (diff) | |
download | system_core-11e55cb9c1e5efe553e36f1b5c04ab21883f66e1.tar.gz system_core-11e55cb9c1e5efe553e36f1b5c04ab21883f66e1.tar.bz2 system_core-11e55cb9c1e5efe553e36f1b5c04ab21883f66e1.zip |
logd: add reinit command
- respond to SIGHUP
- respond to logd command "reinit"
- respond to logd --reinit
- reopens files on /data, eg: re-read of persistent properties
Bug: 19681572
Change-Id: Iadac58e6653f027cb7355497bd675eef376ce0a8
Diffstat (limited to 'logd/LogBuffer.h')
-rw-r--r-- | logd/LogBuffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/logd/LogBuffer.h b/logd/LogBuffer.h index b0003ded2..86a2a2a68 100644 --- a/logd/LogBuffer.h +++ b/logd/LogBuffer.h @@ -46,6 +46,7 @@ public: LastLogTimes &mTimes; LogBuffer(LastLogTimes *times); + void init(); void log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, |