diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-07-25 12:25:48 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-07-29 16:13:23 -0700 |
commit | 2f2e79de0c5cdf5494a54b44b8bee24c5cf2851d (patch) | |
tree | 6b3617f3be01f70f54320cdfc08c6de3d44647a5 /debuggerd/utility.h | |
parent | 166cfe68c3b0212f8e9714a0acd470d488817093 (diff) | |
download | system_core-2f2e79de0c5cdf5494a54b44b8bee24c5cf2851d.zip system_core-2f2e79de0c5cdf5494a54b44b8bee24c5cf2851d.tar.gz system_core-2f2e79de0c5cdf5494a54b44b8bee24c5cf2851d.tar.bz2 |
debuggerd: tombstone: suppress logger request for logd process
(cherry pick from 45ae446cab9cfc9b6100d91b1a37c6ad82e0cb99)
Change-Id: I619880342ee6febd1a6cc98d2a4f536120efc1c8
Diffstat (limited to 'debuggerd/utility.h')
-rw-r--r-- | debuggerd/utility.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debuggerd/utility.h b/debuggerd/utility.h index 31684ce..82413b8 100644 --- a/debuggerd/utility.h +++ b/debuggerd/utility.h @@ -46,9 +46,11 @@ struct log_t{ pid_t crashed_tid; // The tid of the thread we are currently working with. pid_t current_tid; + // logd daemon crash, can block asking for logcat data, allow suppression. + bool should_retrieve_logcat; log_t() - : tfd(-1), amfd(-1), crashed_tid(-1), current_tid(-1) {} + : tfd(-1), amfd(-1), crashed_tid(-1), current_tid(-1), should_retrieve_logcat(true) {} }; // List of types of logs to simplify the logging decision in _LOG |