mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 745556 - Include shared library info in text profile dump for android symbolication. r=jmuizelaar
This commit is contained in:
parent
d31fdd528e
commit
0c48158611
@ -372,6 +372,8 @@ private:
|
||||
bool mJankOnly;
|
||||
};
|
||||
|
||||
std::string GetSharedLibraryInfoString();
|
||||
|
||||
/**
|
||||
* This is an event used to save the profile on the main thread
|
||||
* to be sure that it is not being modified while saving.
|
||||
@ -407,6 +409,7 @@ public:
|
||||
stream.open(buff);
|
||||
if (stream.is_open()) {
|
||||
stream << *(t->GetPrimaryThreadProfile());
|
||||
stream << "h-" << GetSharedLibraryInfoString() << std::endl;
|
||||
stream.close();
|
||||
LOG("Saved to " FOLDER "profile_TYPE_PID.txt");
|
||||
} else {
|
||||
|
@ -105,7 +105,7 @@ AddSharedLibraryInfoToStream(std::ostream& aStream, SharedLibrary& aLib)
|
||||
aStream << "}";
|
||||
}
|
||||
|
||||
static std::string
|
||||
std::string
|
||||
GetSharedLibraryInfoString()
|
||||
{
|
||||
SharedLibraryInfo info = SharedLibraryInfo::GetInfoForSelf();
|
||||
|
Loading…
Reference in New Issue
Block a user