| Index: base/debug/activity_analyzer.h
|
| diff --git a/base/debug/activity_analyzer.h b/base/debug/activity_analyzer.h
|
| index 38a2e658f005c7f6cc3c4c4bb43c99f1fed00193..88c8e84b99d5fc84fe7198952e3eb75828411157 100644
|
| --- a/base/debug/activity_analyzer.h
|
| +++ b/base/debug/activity_analyzer.h
|
| @@ -179,8 +179,10 @@ class BASE_EXPORT GlobalActivityAnalyzer {
|
| // Gets all log messages stored within.
|
| std::vector<std::string> GetLogMessages();
|
|
|
| - // Gets all the known modules.
|
| - std::vector<GlobalActivityTracker::ModuleInfo> GetModules();
|
| + // Gets modules corresponding to a pid. This pid must come from a call to
|
| + // GetFirst/NextProcess. Only modules that were first registered prior to
|
| + // GetFirstProcess's snapshot are returned.
|
| + std::vector<GlobalActivityTracker::ModuleInfo> GetModules(int64_t pid);
|
|
|
| // Gets the corresponding "program location" for a given "program counter".
|
| // This will return {0,0} if no mapping could be found.
|
|
|