create function dumpLog
Bug: 240530709 Test: adb bugreport Change-Id: I036757f10f18f5dcf4faa6574a7280912348aef4
This commit is contained in:
parent
cae07933b0
commit
d0f5360b76
7 changed files with 147 additions and 0 deletions
|
@ -1,7 +1,14 @@
|
|||
#ifndef DEVICE_GOOGLE_GS_COMMON_INSMOD_INCLUDE_DUMP_PIXEL_DUMP_H_
|
||||
#define DEVICE_GOOGLE_GS_COMMON_INSMOD_INCLUDE_DUMP_PIXEL_DUMP_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#define BUGREPORT_PACKING_DIR "/data/vendor/radio/logs/always-on/all_logs"
|
||||
#define MODEM_LOG_DIRECTORY "/data/vendor/radio/logs/always-on"
|
||||
|
||||
void dumpFileContent(const char* title, const char* file_path);
|
||||
void runCommand(const char* title, const char* cmd);
|
||||
std::string concatenatePath(const char* folder, const char* file);
|
||||
void dumpLogs(const char* SrcDir, const char* DestDir, int limit, const char* prefix);
|
||||
|
||||
#endif // DEVICE_GOOGLE_GS_COMMON_INSMOD_INCLUDE_DUMP_PIXEL_DUMP_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue