From 9fcdad5ce4e6a253041894fd3e02061474e1af43 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Mon, 21 May 2012 10:57:16 -0700 Subject: [PATCH] snapshot: remove references to libmymemory.so This library doesn't exist any more. --- snapshot-interface.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/snapshot-interface.cc b/snapshot-interface.cc index 9d6ad7f..8971169 100644 --- a/snapshot-interface.cc +++ b/snapshot-interface.cc @@ -9,7 +9,6 @@ #define MYBINARYNAME "model" #define MYLIBRARYNAME "libmodel.so" -#define MYALLOCNAME "libmymemory.so" #define PROCNAME "/proc/*/maps" #define REPLACEPOS 6 #define PAGESIZE 4096 @@ -48,10 +47,9 @@ static void takeSegmentSnapshot( const MyString & lineText ){ void SnapshotGlobalSegments(){ MyString fn = PROCNAME; static char sProcessSize[ 12 ] = { 0 }; - std::pair< const char *, bool > dataSect[ 3 ]; + std::pair< const char *, bool > dataSect[ 2 ]; dataSect[ 0 ] = std::make_pair( MYBINARYNAME, false ); dataSect[ 1 ] = std::make_pair( MYLIBRARYNAME, false ); - dataSect[ 2 ] = std::make_pair( MYALLOCNAME, false ); static pid_t sProcID = 0; if( 0 == sProcID ) { sProcID = getpid(); -- 2.34.1