| Index: chrome/browser/metrics/thread_watcher_report_hang.cc
|
| diff --git a/chrome/browser/metrics/thread_watcher_report_hang.cc b/chrome/browser/metrics/thread_watcher_report_hang.cc
|
| index 0f11a730c05ccae983e7575e8420147ccbe98f68..f0cd6c2dc85bd75bf189c349dda2955bedb27935 100644
|
| --- a/chrome/browser/metrics/thread_watcher_report_hang.cc
|
| +++ b/chrome/browser/metrics/thread_watcher_report_hang.cc
|
| @@ -31,56 +31,56 @@ NOINLINE void ReportThreadHang() {
|
| #if !defined(OS_ANDROID) || !defined(NDEBUG)
|
| // TODO(rtenneti): Enabled crashing, after getting data.
|
| NOINLINE void StartupHang() {
|
| - volatile const char* inhibit_comdat = __FUNCTION__;
|
| + volatile int inhibit_comdat = __LINE__;
|
| ALLOW_UNUSED_LOCAL(inhibit_comdat);
|
| ReportThreadHang();
|
| }
|
| #endif // OS_ANDROID
|
|
|
| NOINLINE void ShutdownHang() {
|
| - volatile const char* inhibit_comdat = __FUNCTION__;
|
| + volatile int inhibit_comdat = __LINE__;
|
| ALLOW_UNUSED_LOCAL(inhibit_comdat);
|
| ReportThreadHang();
|
| }
|
|
|
| NOINLINE void ThreadUnresponsive_UI() {
|
| - volatile const char* inhibit_comdat = __FUNCTION__;
|
| + volatile int inhibit_comdat = __LINE__;
|
| ALLOW_UNUSED_LOCAL(inhibit_comdat);
|
| ReportThreadHang();
|
| }
|
|
|
| NOINLINE void ThreadUnresponsive_DB() {
|
| - volatile const char* inhibit_comdat = __FUNCTION__;
|
| + volatile int inhibit_comdat = __LINE__;
|
| ALLOW_UNUSED_LOCAL(inhibit_comdat);
|
| ReportThreadHang();
|
| }
|
|
|
| NOINLINE void ThreadUnresponsive_FILE() {
|
| - volatile const char* inhibit_comdat = __FUNCTION__;
|
| + volatile int inhibit_comdat = __LINE__;
|
| ALLOW_UNUSED_LOCAL(inhibit_comdat);
|
| ReportThreadHang();
|
| }
|
|
|
| NOINLINE void ThreadUnresponsive_FILE_USER_BLOCKING() {
|
| - volatile const char* inhibit_comdat = __FUNCTION__;
|
| + volatile int inhibit_comdat = __LINE__;
|
| ALLOW_UNUSED_LOCAL(inhibit_comdat);
|
| ReportThreadHang();
|
| }
|
|
|
| NOINLINE void ThreadUnresponsive_PROCESS_LAUNCHER() {
|
| - volatile const char* inhibit_comdat = __FUNCTION__;
|
| + volatile int inhibit_comdat = __LINE__;
|
| ALLOW_UNUSED_LOCAL(inhibit_comdat);
|
| ReportThreadHang();
|
| }
|
|
|
| NOINLINE void ThreadUnresponsive_CACHE() {
|
| - volatile const char* inhibit_comdat = __FUNCTION__;
|
| + volatile int inhibit_comdat = __LINE__;
|
| ALLOW_UNUSED_LOCAL(inhibit_comdat);
|
| ReportThreadHang();
|
| }
|
|
|
| NOINLINE void ThreadUnresponsive_IO() {
|
| - volatile const char* inhibit_comdat = __FUNCTION__;
|
| + volatile int inhibit_comdat = __LINE__;
|
| ALLOW_UNUSED_LOCAL(inhibit_comdat);
|
| ReportThreadHang();
|
| }
|
|
|