mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-23 22:06:12 +03:00
base: Remove upstream debug code until fix lands
This commit is contained in:
parent
e503097f30
commit
2473393912
@ -719,16 +719,6 @@ void HangWatcher::WatchStateSnapShot::Init(
|
||||
any_hung_thread_has_dumping_enabled = true;
|
||||
}
|
||||
|
||||
// Emit trace events for monitored threads.
|
||||
if (ThreadTypeLoggingLevelGreaterOrEqual(watch_state.get()->thread_type(),
|
||||
LoggingLevel::kUmaOnly)) {
|
||||
const uint64_t thread_id = watch_state.get()->GetThreadID();
|
||||
const auto track = perfetto::Track::FromPointer(
|
||||
this, perfetto::ThreadTrack::ForThread(thread_id));
|
||||
TRACE_EVENT_BEGIN("base", "HangWatcher::ThreadHung", track, deadline);
|
||||
TRACE_EVENT_END("base", track, now);
|
||||
}
|
||||
|
||||
// Attempt to mark the thread as needing to stay within its current
|
||||
// WatchHangsInScope until capture is complete.
|
||||
bool thread_marked = watch_state->SetShouldBlockOnHang(flags, deadline);
|
||||
|
Loading…
Reference in New Issue
Block a user