Enable lmkd kill tracing everywhere
Test: asdf Exempt-From-Owner-Approval: vacation Change-Id: If6af7df74d303466aac4a69cdfe558e9748f72b9
This commit is contained in:
parent
93c1ca6224
commit
347f6b4462
|
@ -10,17 +10,8 @@ cc_binary {
|
|||
"libstatslogc",
|
||||
],
|
||||
local_include_dirs: ["include"],
|
||||
cflags: ["-Werror"],
|
||||
|
||||
cflags: ["-Werror", "-DLMKD_TRACE_KILLS"],
|
||||
init_rc: ["lmkd.rc"],
|
||||
|
||||
product_variables: {
|
||||
debuggable: {
|
||||
cflags: [
|
||||
"-DLMKD_TRACE_KILLS"
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
|
|
|
@ -55,8 +55,8 @@
|
|||
|
||||
#else /* LMKD_TRACE_KILLS */
|
||||
|
||||
#define TRACE_KILL_START(pid)
|
||||
#define TRACE_KILL_END()
|
||||
#define TRACE_KILL_START(pid) ((void)(pid))
|
||||
#define TRACE_KILL_END() ((void)0)
|
||||
|
||||
#endif /* LMKD_TRACE_KILLS */
|
||||
|
||||
|
|
Loading…
Reference in New Issue