move libdump to dumpstate
Bug: 256065208 Test: make dump_soc Change-Id: Ia9a4bfd691c855fb6a7f170f575c40226a30467f
This commit is contained in:
parent
4843f10b69
commit
857f654a5b
4 changed files with 20 additions and 18 deletions
15
gear/dumpstate/include/dump/pixel_dump.h
Normal file
15
gear/dumpstate/include/dump/pixel_dump.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#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);
|
||||
void copyFile(const char* SrcDir, const char* DestDir);
|
||||
|
||||
#endif // DEVICE_GOOGLE_GS_COMMON_INSMOD_INCLUDE_DUMP_PIXEL_DUMP_H_
|
Loading…
Add table
Add a link
Reference in a new issue