Merge "Add macro for dumping hal debug info"
am: f1f2b514fe
Change-Id: I482156c2a004422a7e5c50674525cf9ad79aa1ba
This commit is contained in:
commit
2446e21855
1 changed files with 10 additions and 0 deletions
|
@ -702,3 +702,13 @@ define(`never_profile_heap', `
|
|||
neverallow heapprofd $1:file read;
|
||||
neverallow heapprofd $1:process signal;
|
||||
')
|
||||
|
||||
###########################################
|
||||
# dump_hal(hal_type)
|
||||
# Ability to dump the hal debug info
|
||||
#
|
||||
define(`dump_hal', `
|
||||
hal_client_domain(dumpstate, $1);
|
||||
allow $1_server dumpstate:fifo_file write;
|
||||
allow $1_server dumpstate:fd use;
|
||||
')
|
||||
|
|
Loading…
Reference in a new issue