assert(fd >= 0);
len = read(fd, buf, size - 1);
close(fd);
- path.truncate(len);
+ path.truncate();
return path;
}
os::String proc_name;
proc_name = getZygoteProcessName();
- proc_name.trimDirectory();
__system_property_get("debug.apitrace.procname", target_proc_name);
enabled = !strcmp(target_proc_name, proc_name);