bootstat: Followup cleanups from the initial bootstat checkin.

* Clarify the README.md that the logs data may be utilized by anyone.
* Fix a whitespace issue.

Bug: 21724738
Change-Id: Id472485f505afb14588ccd645844a3f4a728abc2
This commit is contained in:
James Hawkins 2016-01-20 13:16:31 -08:00
parent fb494eb40d
commit 6d0d12a9d8
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());
}
}