Merge "bootstat: Followup cleanups from the initial bootstat checkin."

This commit is contained in:
James Hawkins 2016-01-20 22:59:44 +00:00 committed by Gerrit Code Review
commit 17bcba1631
2 changed files with 4 additions and 3 deletions

View file

@ -34,8 +34,9 @@ To log the persisted boot events, call `bootstat` with the `-l` option.
$ bootstat -l
bootstat logs all boot events recorded using the `-r` option to the EventLog
using the Tron histogram. On GMS devices these logs are uploaded via Clearcut
for aggregation and analysis.
using the Tron histogram. These logs may be uploaded by interested parties
for aggregation and analysis of boot time across different devices and
versions.
## Printing boot events ##

View file

@ -65,7 +65,7 @@ void DeleteDirectory(const std::string& path) {
const std::string entry_path = path + "/" + entry_name;
if (entry->d_type == DT_DIR) {
DeleteDirectory(entry_path);
} else {
} else {
unlink(entry_path.c_str());
}
}