Add profcollectd.etr.probe property and associated permissions
It is used by profcollectd to notify vendor_init to trigger a manual probe of coresight etr. Bug: 321061072 Test: build and run on device Change-Id: I5aa65f8d5a25f1284f09111c940f0a2c1a62ac18
This commit is contained in:
parent
2300dc5e64
commit
948ae15060
5 changed files with 10 additions and 0 deletions
|
@ -5,4 +5,5 @@
|
||||||
(typeattribute new_objects)
|
(typeattribute new_objects)
|
||||||
(typeattributeset new_objects
|
(typeattributeset new_objects
|
||||||
( new_objects
|
( new_objects
|
||||||
|
profcollectd_etr_prop
|
||||||
))
|
))
|
||||||
|
|
|
@ -46,6 +46,9 @@ userdebug_or_eng(`
|
||||||
get_prop(profcollectd, device_config_profcollect_native_boot_prop)
|
get_prop(profcollectd, device_config_profcollect_native_boot_prop)
|
||||||
set_prop(profcollectd, profcollectd_node_id_prop)
|
set_prop(profcollectd, profcollectd_node_id_prop)
|
||||||
|
|
||||||
|
# Allow profcollectd to trigger manual probe of coresight etr.
|
||||||
|
set_prop(profcollectd, profcollectd_etr_prop)
|
||||||
|
|
||||||
# Allow profcollectd to publish a binder service and make binder calls.
|
# Allow profcollectd to publish a binder service and make binder calls.
|
||||||
binder_use(profcollectd)
|
binder_use(profcollectd)
|
||||||
# Allow profcollectd to call callbacks registered by system_server when ETM is ready.
|
# Allow profcollectd to call callbacks registered by system_server when ETM is ready.
|
||||||
|
|
|
@ -109,6 +109,7 @@ sys.lmk. u:object_r:system_lmk_prop:s0
|
||||||
sys.trace. u:object_r:system_trace_prop:s0
|
sys.trace. u:object_r:system_trace_prop:s0
|
||||||
wrap. u:object_r:zygote_wrap_prop:s0 prefix string
|
wrap. u:object_r:zygote_wrap_prop:s0 prefix string
|
||||||
persist.wm.debug. u:object_r:persist_wm_debug_prop:s0
|
persist.wm.debug. u:object_r:persist_wm_debug_prop:s0
|
||||||
|
profcollectd.etr.probe u:object_r:profcollectd_etr_prop:s0
|
||||||
|
|
||||||
# Suspend service properties
|
# Suspend service properties
|
||||||
suspend.max_sleep_time_millis u:object_r:suspend_prop:s0 exact uint
|
suspend.max_sleep_time_millis u:object_r:suspend_prop:s0 exact uint
|
||||||
|
|
|
@ -103,6 +103,7 @@ system_restricted_prop(usb_prop)
|
||||||
system_restricted_prop(userspace_reboot_exported_prop)
|
system_restricted_prop(userspace_reboot_exported_prop)
|
||||||
system_restricted_prop(vold_status_prop)
|
system_restricted_prop(vold_status_prop)
|
||||||
system_restricted_prop(vts_status_prop)
|
system_restricted_prop(vts_status_prop)
|
||||||
|
system_restricted_prop(profcollectd_etr_prop)
|
||||||
|
|
||||||
compatible_property_only(`
|
compatible_property_only(`
|
||||||
# DO NOT ADD ANY PROPERTIES HERE
|
# DO NOT ADD ANY PROPERTIES HERE
|
||||||
|
|
|
@ -297,6 +297,10 @@ set_prop(vendor_init, dck_prop)
|
||||||
get_prop(vendor_init, device_config_vendor_system_native_prop)
|
get_prop(vendor_init, device_config_vendor_system_native_prop)
|
||||||
get_prop(vendor_init, device_config_vendor_system_native_boot_prop)
|
get_prop(vendor_init, device_config_vendor_system_native_boot_prop)
|
||||||
|
|
||||||
|
userdebug_or_eng(`
|
||||||
|
get_prop(vendor_init, profcollectd_etr_prop)
|
||||||
|
')
|
||||||
|
|
||||||
###
|
###
|
||||||
### neverallow rules
|
### neverallow rules
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in a new issue