+ return -1;
+ }else{
+ poll_outputfile |= POLL_VALGRIND_XMLFILE;
+ if(remove(PATH_VALGRIND_XMLFILE)){
+ _D("cannot remove %s"
+ , PATH_VALGRIND_XMLFILE);
+ }
+ }
+ }
+ /* valgrind massif file option */
+ else if (strncmp(str_array[i], OPT_VALGRIND_MASSIFFILE
+ , sizeof(OPT_VALGRIND_MASSIFFILE)-1) == 0)
+ {
+ if(strcmp(str_array[i], OPT_VALGRIND_MASSIFFILE_FIXED))
+ {
+ _E("wrong valgrind option(%s). It should be %s"
+ , str_array[i]
+ , OPT_VALGRIND_MASSIFFILE_FIXED);
+ return -1;