summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJohn Doe <[email protected]>2023-12-01 07:52:45 +0000
committerJohn Doe <[email protected]>2023-12-01 09:30:53 +0000
commit96139f8e02f2b57c3129614dfcb931a3a3769969 (patch)
treea69f94877f9f39d9a1641415d2f1287bf7fe8785 /source
parent4b5c8b258218ab1df74d5f82ecc559f2981998c9 (diff)
buff to 500M
Diffstat (limited to 'source')
-rw-r--r--source/module/monitor_kernel_lib.c3
-rw-r--r--source/ucli/ucli.cc4
2 files changed, 4 insertions, 3 deletions
diff --git a/source/module/monitor_kernel_lib.c b/source/module/monitor_kernel_lib.c
index de8eb8c..bc6b616 100644
--- a/source/module/monitor_kernel_lib.c
+++ b/source/module/monitor_kernel_lib.c
@@ -205,7 +205,8 @@ int monitor_init(void) {
ret = init_orig_fun(); // init orig_X
if (ret)
return ret;
- ret = init_buffer(50 * 1024 * 1024); // 50M
+ //!todo
+ ret = init_buffer(500 * 1024 * 1024); // 50M
if (ret)
return -1;
return 0;
diff --git a/source/ucli/ucli.cc b/source/ucli/ucli.cc
index 94b5b0d..1a2d1be 100644
--- a/source/ucli/ucli.cc
+++ b/source/ucli/ucli.cc
@@ -68,7 +68,7 @@ static void do_extract(char *buf, int len) {
}
static void do_dump(const char *arg) {
- static char variant_buf[50 * 1024 * 1024];
+ static char variant_buf[500 * 1024 * 1024];
int len;
int ret = 0;
@@ -78,7 +78,7 @@ static void do_dump(const char *arg) {
struct diag_ioctl_dump_param dump_param = {
.user_ptr_len = &len,
- .user_buf_len = 50 * 1024 * 1024,
+ .user_buf_len = 500 * 1024 * 1024,
.user_buf = variant_buf,
};