Chromium Code Reviews| 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..b1f8949fbcf3c6b28adbbd54e929282ae710a21c 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 "); |
|
hush (inactive)
2016/06/22 20:46:01
Hello Torne, do you know if this letter matter?
I
Torne
2016/06/23 13:31:37
Yes, the processor uses the letter to determine wh
|
| + if (microdump_extra_info_.process_type) { |
| + LogAppend(microdump_extra_info_.process_type); |
| + } else { |
| + LogAppend("UNKOWN"); |
|
Torne
2016/06/23 13:31:37
Missing an "N" :)
|
| + } |
| + LogCommitLine(); |
| + } |
| + |
| void DumpOSInformation() { |
| const uint8_t n_cpus = static_cast<uint8_t>(sysconf(_SC_NPROCESSORS_CONF)); |