From 5aeb2eb888803d5b7e31cf796c874bc916360da5 Mon Sep 17 00:00:00 2001 From: Benoit Girard Date: Fri, 6 Jul 2012 16:40:10 -0400 Subject: [PATCH] Bug 771608 - Fix a crash when saving a text profile; r=ehsan --- tools/profiler/TableTicker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/profiler/TableTicker.cpp b/tools/profiler/TableTicker.cpp index 0ce6ea154cd..76e55ff4ee4 100644 --- a/tools/profiler/TableTicker.cpp +++ b/tools/profiler/TableTicker.cpp @@ -797,7 +797,7 @@ std::ostream& operator<<(std::ostream& stream, const ThreadProfile& profile) std::ostream& operator<<(std::ostream& stream, const ProfileEntry& entry) { - if (entry.mTagName == 'r') { + if (entry.mTagName == 'r' || entry.mTagName == 't') { stream << entry.mTagName << "-" << std::fixed << entry.mTagFloat << "\n"; } else if (entry.mTagName == 'l' || entry.mTagName == 'L') { // Bug 739800 - Force l-tag addresses to have a "0x" prefix on all platforms