1 #pragma once 2 3 #include <string_view> 4 5 #include "dumper.h" 6 7 namespace pixel_modem::logging { 8 9 inline constexpr std::string_view kBugreportPackingDirectory = 10 "/data/vendor/radio/logs/always-on/all_logs"; 11 12 inline constexpr LogDumpInfo kLogDumpInfo[] = { 13 {.src_dir = "/data/vendor/radio/extended_logs", 14 .dest_dir = kBugreportPackingDirectory, 15 .limit = 20, 16 .prefix = "extended_log_"}, 17 {.src_dir = "/data/vendor/radio/sim/", 18 .dest_dir = kBugreportPackingDirectory, 19 .limit = 1, 20 .prefix = "sim_poweron_log_"}, 21 {.src_dir = "data/vendor/radio/logs/history", 22 .dest_dir = kBugreportPackingDirectory, 23 .limit = 2, 24 .prefix = "Logging"}}; 25 26 constexpr FileCopyInfo kFileCopyInfo[] = { 27 {.src_dir = "/mnt/vendor/efs/nv_normal.bin", 28 .dest_dir = "/data/vendor/radio/logs/always-on/all_logs/nv_normal.bin"}, 29 {.src_dir = "/mnt/vendor/efs/nv_protected.bin", 30 .dest_dir = 31 "/data/vendor/radio/logs/always-on/all_logs/nv_protected.bin"}}; 32 33 } // namespace pixel_modem::logging 34