Chromium Code Reviews| Index: content/browser/browser_shutdown_profile_dumper.cc |
| diff --git a/content/browser/browser_shutdown_profile_dumper.cc b/content/browser/browser_shutdown_profile_dumper.cc |
| index c2533a09604cbe7a5490d55758acc4844e4a3f99..b853a70ee6958de8d3479d4d864e6c3ec57293f5 100644 |
| --- a/content/browser/browser_shutdown_profile_dumper.cc |
| +++ b/content/browser/browser_shutdown_profile_dumper.cc |
| @@ -34,9 +34,10 @@ void BrowserShutdownProfileDumper::WriteTracesToDisc() { |
| // Since the tracer stops when the trace buffer is filled, we'd rather save |
| // what we have than nothing since we might see from the amount of events |
| // that caused the problem. |
| - DVLOG(1) << "Flushing shutdown traces to disc. The buffer is %" << |
| - base::debug::TraceLog::GetInstance()->GetBufferPercentFull() << |
| - " full."; |
| + DVLOG(1) << "Flushing shutdown traces to disc. The buffer is %" |
|
alph
2014/11/14 10:59:30
out of curiosity what does % mean here?
yurys
2014/11/14 13:03:47
No idea, it was here before. I believe it is just
|
| + << base::debug::TraceLog::GetInstance() |
| + ->GetBufferUsage() |
| + .approximate_event_count << " full."; |
|
alph
2014/11/14 10:59:30
is the change from percent to count intentional?
yurys
2014/11/14 13:03:47
Good catch. Done.
|
| DCHECK(!dump_file_); |
| dump_file_ = base::OpenFile(dump_file_name_, "w+"); |
| if (!IsFileValid()) { |