1{ 2 "services" : [{ 3 "name" : "hiprofilerd", 4 "path" : ["/system/bin/hiprofilerd"], 5 "sandbox" : 0, 6 "once" : 1, 7 "uid" : "hiprofiler", 8 "gid" : ["shell", "readproc"], 9 "socket" : [{ 10 "name" : "hiprofiler_unix_socket", 11 "family" : "AF_UNIX", 12 "type" : "SOCK_STREAM", 13 "protocol" : "default", 14 "permissions" : "0600", 15 "uid" : "hiprofiler", 16 "gid" : "shell", 17 "option" : [ 18 "SOCKET_OPTION_PASSCRED", 19 "SOCK_NONBLOCK", 20 "SOCK_CLOEXEC" 21 ] 22 }], 23 "secon" : "u:r:hiprofilerd:s0", 24 "start-mode" : "condition" 25 } 26 ], 27 "jobs" : [{ 28 "name" : "param:hiviewdfx.hiprofiler.profilerd.start=1", 29 "condition" : "hiviewdfx.hiprofiler.profilerd.start=1", 30 "cmds" : [ 31 "start hiprofilerd" 32 ] 33 }, { 34 "name" : "param:hiviewdfx.hiprofiler.profilerd.start=0", 35 "condition" : "hiviewdfx.hiprofiler.profilerd.start=0", 36 "cmds" : [ 37 "stop hiprofilerd" 38 ] 39 }, { 40 "name" : "param:hiviewdfx.hiprofiler.plugins.start=1", 41 "condition" : "hiviewdfx.hiprofiler.plugins.start=1", 42 "cmds" : [ 43 "start hiprofiler_plugins" 44 ] 45 }, { 46 "name" : "param:hiviewdfx.hiprofiler.plugins.start=0", 47 "condition" : "hiviewdfx.hiprofiler.plugins.start=0", 48 "cmds" : [ 49 "stop hiprofiler_plugins" 50 ] 51 }, { 52 "name" : "param:hiviewdfx.hiprofiler.native_memoryd.start=1", 53 "condition" : "hiviewdfx.hiprofiler.native_memoryd.start=1", 54 "cmds" : [ 55 "start hiprofiler_daemon" 56 ] 57 }, { 58 "name" : "param:hiviewdfx.hiprofiler.native_memoryd.start=0", 59 "condition" : "hiviewdfx.hiprofiler.native_memoryd.start=0", 60 "cmds" : [ 61 "stop hiprofiler_daemon" 62 ] 63 } 64 ] 65} 66