diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-02-14 16:05:05 -0800 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-03-14 10:23:51 -0700 |
commit | fa3716b2501ccddc8e0cd30f6343692b8deb7639 (patch) | |
tree | cee7ad53c6d2e9d2aa972686ef7ea203c9d75c28 /logd/FlushCommand.h | |
parent | 6ab10a1c17d048e88f929d35293d266b6480f6d6 (diff) | |
download | core-fa3716b2501ccddc8e0cd30f6343692b8deb7639.tar.gz core-fa3716b2501ccddc8e0cd30f6343692b8deb7639.tar.bz2 core-fa3716b2501ccddc8e0cd30f6343692b8deb7639.zip |
logd: liblog: logcat: Arbitrary time to tail
Change-Id: I10e8d92c933e31ee11e78d2d1114261a30c4be0e
Diffstat (limited to 'logd/FlushCommand.h')
-rw-r--r-- | logd/FlushCommand.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/logd/FlushCommand.h b/logd/FlushCommand.h index 715daacc0..f34c06a67 100644 --- a/logd/FlushCommand.h +++ b/logd/FlushCommand.h @@ -16,8 +16,13 @@ #ifndef _FLUSH_COMMAND_H #define _FLUSH_COMMAND_H +#include <log/log_read.h> #include <sysutils/SocketClientCommand.h> +class LogBufferElement; + +#include "LogTimes.h" + class LogReader; class FlushCommand : public SocketClientCommand { @@ -26,13 +31,15 @@ class FlushCommand : public SocketClientCommand { unsigned long mTail; unsigned int mLogMask; pid_t mPid; + log_time mStart; public: FlushCommand(LogReader &mReader, bool nonBlock = false, unsigned long tail = -1, unsigned int logMask = -1, - pid_t pid = 0); + pid_t pid = 0, + log_time start = LogTimeEntry::EPOCH); virtual void runSocketCommand(SocketClient *client); static bool hasReadLogs(SocketClient *client); |