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

Unified Diff: components/browser_watcher/dump_postmortem_minidump_main_win.cc

Issue 2748823002: Stability file: collect generic activities (Closed)
Patch Set: Update dump_postmortem Created 3 years, 9 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 | components/browser_watcher/postmortem_report_collector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_watcher/dump_postmortem_minidump_main_win.cc
diff --git a/components/browser_watcher/dump_postmortem_minidump_main_win.cc b/components/browser_watcher/dump_postmortem_minidump_main_win.cc
index db01260c57f5c59db9e7d300c2d57b01bc8b1e7e..7a4bdb1331a49feb1dad732d183ea82d75c43bdb 100644
--- a/components/browser_watcher/dump_postmortem_minidump_main_win.cc
+++ b/components/browser_watcher/dump_postmortem_minidump_main_win.cc
@@ -101,6 +101,8 @@ void PrintActivity(FILE* out,
fprintf(out, "type: %d\n", activity.type());
Indent(out, indent_level + 1);
fprintf(out, "time: %lld\n", activity.time());
+ Indent(out, indent_level + 1);
+ fprintf(out, "address: %llX\n", activity.address());
switch (activity.type()) {
case browser_watcher::Activity::UNKNOWN:
break;
@@ -125,6 +127,11 @@ void PrintActivity(FILE* out,
Indent(out, indent_level + 1);
fprintf(out, "process_id: %lld\n", activity.process_id());
break;
+ case browser_watcher::Activity::ACT_GENERIC:
+ Indent(out, indent_level + 1);
+ fprintf(out, "id: %u, data: %d\n", activity.generic_id(),
+ activity.generic_data());
+ break;
}
PrintUserData(out, indent_level + 1, activity.user_data());
« no previous file with comments | « no previous file | components/browser_watcher/postmortem_report_collector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698