Move CPU time in state bpf maps to their own dir,
This will allow us to use a genfscon SELinux rule to get finer grained access control. Bug: 422976190 Test: Recorded a Perfetto trace with statsd atom CPU_CYCLES_PER_UID_CLUSTER, tested manually with go/atomtester. Change-Id: Ic16da605b9d7150d42176c428f0e1ecaf4a9472f
This commit is contained in:
parent
16e017f20e
commit
8546ea34c6
1 changed files with 3 additions and 3 deletions
|
|
@ -215,8 +215,8 @@ const GID_MEDIA_RW: u32 = AID_MEDIA_RW;
|
|||
const FILE_ARR: &[BpfFileDesc] = &[
|
||||
BpfFileDesc {
|
||||
filename: "timeInState.bpf",
|
||||
dir: "/etc/bpf/",
|
||||
prefix: "",
|
||||
dir: "/etc/bpf/cputimeinstate/",
|
||||
prefix: "cputimeinstate/",
|
||||
critical: false,
|
||||
skip_on_user: false,
|
||||
maps: &[
|
||||
|
|
|
|||
Loading…
Reference in a new issue