platform_system_core/debuggerd
Narayan Kamath a73df601b7 tombstoned: allow intercepts for java traces.
All intercept requests and crash dump requests must now specify a
dump_type, which can be one of kDebuggerdNativeBacktrace,
kDebuggerdTombstone or kDebuggerdJavaBacktrace. Each process can have
only one outstanding intercept registered at a time.

There's only one non-trivial change in this changeset; and that is
to crash_dump. We now pass the type of dump via a command line
argument instead of inferring it from the (resent) signal, this allows
us to connect to tombstoned before we wait for the signal as the
protocol requires.

Test: debuggerd_test

Change-Id: I189b215acfecd08ac52ab29117e3465da00e3a37
2017-05-31 10:35:32 +01:00
..
client tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
common/include tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
crasher Small debuggerd improvements. 2017-03-02 19:01:20 -08:00
handler tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
include/debuggerd tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
libdebuggerd libdebuggerd: print the build fingerprint in fallback. 2017-05-08 13:15:19 -07:00
tombstoned tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
crash_dump.cpp tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
debuggerd.cpp tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
debuggerd_test.cpp tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
protocol.h tombstoned: allow intercepts for java traces. 2017-05-31 10:35:32 +01:00
signal_sender.cpp liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
util.cpp tombstoned: Add a shared library version of libtombstoned_client... 2017-05-22 16:55:21 +01:00
util.h tombstoned: Add a shared library version of libtombstoned_client... 2017-05-22 16:55:21 +01:00