Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Unified Diff: base/debug/activity_analyzer.h

Issue 2966563004: StabilityReport proto changes for multi-process support (Closed)
Patch Set: Merge Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/debug/activity_analyzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | base/debug/activity_analyzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698