From 63919583ba0d302a2ceb437ecf41a7975f44f54b Mon Sep 17 00:00:00 2001 From: "ivanpe@chromium.org" Date: Tue, 25 Nov 2014 22:45:23 +0000 Subject: Surfacing the process create time in google_breakpad::ProcessState and updating minidump_stackwalk to show process uptime. I tested this with a minidump from Chrome and I got a result that is inline with what the Windows debugger is showing for that dump: minidump_stackwalk output: -------------------------- Process uptime: 601 seconds WinDBG output: -------------- Process Uptime: 0 days 0:10:01.000 I didn't update the machine readable output of minidump_stackwalk on purpose in order to avoid breaking someone that uses it. It can be added later to the machine output if needed. R=mark@chromium.org Review URL: https://breakpad.appspot.com/7754002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1406 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/processor/testdata/microdump.stackwalk.out | 1 + src/processor/testdata/minidump2.stackwalk.out | 1 + 2 files changed, 2 insertions(+) (limited to 'src/processor/testdata') diff --git a/src/processor/testdata/microdump.stackwalk.out b/src/processor/testdata/microdump.stackwalk.out index c596e769..fffab8a9 100644 --- a/src/processor/testdata/microdump.stackwalk.out +++ b/src/processor/testdata/microdump.stackwalk.out @@ -5,6 +5,7 @@ CPU: Crash reason: Crash address: 0x0 +Process uptime: not available Thread 0 (crashed) 0 libchromeshell.so!content::::CrashIntentionally [render_frame_impl.cc : 267 + 0x2] diff --git a/src/processor/testdata/minidump2.stackwalk.out b/src/processor/testdata/minidump2.stackwalk.out index 20d1c4d8..784c7e57 100644 --- a/src/processor/testdata/minidump2.stackwalk.out +++ b/src/processor/testdata/minidump2.stackwalk.out @@ -6,6 +6,7 @@ CPU: x86 Crash reason: EXCEPTION_ACCESS_VIOLATION_WRITE Crash address: 0x45 +Process uptime: 0 seconds Thread 0 (crashed) 0 test_app.exe!`anonymous namespace'::CrashFunction [test_app.cc : 58 + 0x3] -- cgit v1.2.1