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:
parent
fb494eb40d
commit
6d0d12a9d8
|
@ -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 ##
|
||||
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue