Commit 54b1455e authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

util: Move maps buffer into routine stack

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent dd4d829d
......@@ -39,8 +39,6 @@
#include "crtools.h"
static char big_buffer[PATH_MAX];
void printk(const char *format, ...)
{
va_list params;
......@@ -236,6 +234,7 @@ int parse_maps(pid_t pid, struct list_head *vma_area_list, bool use_map_files)
struct vma_area *vma_area = NULL;
u64 start, end, pgoff;
char map_files_path[64];
char big_buffer[1024];
char maps_path[64];
unsigned long ino;
char r,w,x,s;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment