mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-24 16:24:52 +01:00
Add option to dump crash thread only
Add minidump_stackwalk option to dump the crash thread only Bug: 1129202 Change-Id: I1370b4dc972f76ba1d57fca083da7d486774e65a Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2762072 Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
dff7d5afd5
commit
3bea2815bf
4 changed files with 29 additions and 15 deletions
|
|
@ -110,7 +110,10 @@ int PrintMicrodumpProcess(const Options& options) {
|
|||
if (options.machine_readable) {
|
||||
PrintProcessStateMachineReadable(process_state);
|
||||
} else {
|
||||
PrintProcessState(process_state, options.output_stack_contents, &resolver);
|
||||
// Microdump has only one thread, |output_requesting_thread_only|'s value
|
||||
// has no effect.
|
||||
PrintProcessState(process_state, options.output_stack_contents,
|
||||
/*output_requesting_thread_only=*/false, &resolver);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue