ams-appNotResponding
File tracesFile = dumpStackTraces(true, firstPids, processCpuTracker, lastPids,
NATIVE_STACKS_OF_INTEREST);
SimpleDateFormat sDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String newTracesPath = tracesFile.getPath();
int lpos = newTracesPath.lastIndexOf (".");
if (-1 != lpos) {
newTracesPath = newTracesPath.substring(0,lpos) + "_" + app.pid + "_" + app.processName + "_" +
sDateFormat.format(new Date()) + newTracesPath.substring(lpos);
tracesFile.renameTo(new File(newTracesPath));
}