Fixing merge conflict resolution
This commit is contained in:
14
src/memory.c
Normal file
14
src/memory.c
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "memory.h"
|
||||
|
||||
#include "logger.h"
|
||||
#include "files.h"
|
||||
#include "types.h"
|
||||
|
||||
str read_memory_maps_self() {
|
||||
str memory_str = str_null;
|
||||
|
||||
HiloadResult res = read_file_to_str(&memory_str, "/proc/self/maps");
|
||||
sc_log_debug("Memory Map (/proc/self/maps):\n%s\n", str_ptr(memory_str));
|
||||
|
||||
return memory_str;
|
||||
}
|
||||
Reference in New Issue
Block a user