mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 721780 - Rename XRE_Main to something more useful; r=BenWa
This commit is contained in:
parent
ee323c2710
commit
e32860d3c4
@ -425,7 +425,7 @@ void TableTicker::doBacktrace(Profile &aProfile)
|
||||
void *array[100];
|
||||
int count = backtrace (array, 100);
|
||||
|
||||
aProfile.addTag(ProfileEntry('s', "XRE_Main", 0));
|
||||
aProfile.addTag(ProfileEntry('s', "(root)", 0));
|
||||
|
||||
for (int i = 0; i < count; i++) {
|
||||
if( (intptr_t)array[i] == -1 ) break;
|
||||
@ -464,7 +464,7 @@ void TableTicker::doBacktrace(Profile &aProfile)
|
||||
};
|
||||
nsresult rv = NS_StackWalk(StackWalkCallback, 0, &array, thread);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
aProfile.addTag(ProfileEntry('s', "XRE_Main", 0));
|
||||
aProfile.addTag(ProfileEntry('s', "(root)", 0));
|
||||
|
||||
for (size_t i = array.count; i > 0; --i) {
|
||||
aProfile.addTag(ProfileEntry('l', (const char*)array.array[i - 1]));
|
||||
|
Loading…
Reference in New Issue
Block a user