summaryrefslogtreecommitdiff
path: root/msm8998/hal/inc
diff options
context:
space:
mode:
authorNiranjan Pendharkar <npendhar@codeaurora.org>2017-08-15 21:54:41 -0700
committerErik Kline <ek@google.com>2017-08-21 17:39:47 -0700
commit3493acab586c35a9cf9baffd027950d2413d936c (patch)
tree1c846f4ff7a97cc8743b9a5503d2fff234a4edc9 /msm8998/hal/inc
parentec5a83ab38a41ea3f0af08c45276900e6d26cc39 (diff)
downloadipacfg-mgr-3493acab586c35a9cf9baffd027950d2413d936c.tar.gz
print local log buffer to debug
Bug: 34361337 Test: manual Change-Id: I2786eff206412871161512d675b183fa04d6ada9 (cherry picked from commit 89455fd63333f7a349de4baf3d432d2cc37750d9)
Diffstat (limited to 'msm8998/hal/inc')
-rw-r--r--msm8998/hal/inc/HAL.h3
-rw-r--r--msm8998/hal/inc/LocalLogBuffer.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/msm8998/hal/inc/HAL.h b/msm8998/hal/inc/HAL.h
index 24761dd..c7b7817 100644
--- a/msm8998/hal/inc/HAL.h
+++ b/msm8998/hal/inc/HAL.h
@@ -161,6 +161,9 @@ public:
const hidl_string& /* prefix */,
removeDownstream_cb /* hidl_cb */);
+ /* Common */
+ Return<void> debug(const hidl_handle& /* fd */, const hidl_vec<hidl_string>& /* options */);
+
private:
typedef struct BoolResult {
bool success;
diff --git a/msm8998/hal/inc/LocalLogBuffer.h b/msm8998/hal/inc/LocalLogBuffer.h
index c23ef7d..7cefe64 100644
--- a/msm8998/hal/inc/LocalLogBuffer.h
+++ b/msm8998/hal/inc/LocalLogBuffer.h
@@ -65,9 +65,10 @@ public:
LocalLogBuffer(string /* name */, int /* maxLogs */);
void addLog(FunctionLog /* log */);
void toLogcat();
+ void toFd(int fd);
private:
deque<FunctionLog> mLogs;
const string mName;
const size_t mMaxLogs;
}; /* LocalLogBuffer */
-#endif /* _LOCAL_LOG_BUFFER_H_ */ \ No newline at end of file
+#endif /* _LOCAL_LOG_BUFFER_H_ */