Index: client/linux/microdump_writer/microdump_writer.cc |
diff --git a/client/linux/microdump_writer/microdump_writer.cc b/client/linux/microdump_writer/microdump_writer.cc |
index 26f7250f490c09f533f242d92ce28616274dd312..6f5b435591bd84a10e1ef3b51c2058005d9e5e75 100644 |
--- a/client/linux/microdump_writer/microdump_writer.cc |
+++ b/client/linux/microdump_writer/microdump_writer.cc |
@@ -164,6 +164,7 @@ class MicrodumpWriter { |
LogLine("-----BEGIN BREAKPAD MICRODUMP-----"); |
DumpProductInformation(); |
DumpOSInformation(); |
+ DumpProcessType(); |
DumpGPUInformation(); |
#if !defined(__LP64__) |
DumpFreeSpace(); |
@@ -233,6 +234,16 @@ class MicrodumpWriter { |
LogCommitLine(); |
} |
+ void DumpProcessType() { |
+ LogAppend("P "); |
+ if (microdump_extra_info_.process_type) { |
+ LogAppend(microdump_extra_info_.process_type); |
+ } else { |
+ LogAppend("UNKNOWN"); |
+ } |
+ LogCommitLine(); |
+ } |
+ |
void DumpOSInformation() { |
const uint8_t n_cpus = static_cast<uint8_t>(sysconf(_SC_NPROCESSORS_CONF)); |