Allow reading /d/tracing/events/ftrace/print on user
Allow traced to read the format file for the print event on user. This does not allow traced to enable any event it could not already as the events under /d/tracing/events/ftrace/ are special and are always enabled. Being able to read the format file means we don't have to speculate on the id and layout of the print event. Bug: 122471587 Test: atest CtsPerfettoTestCases:PerfettoTest#TestFtraceFlush Change-Id: I39379f2fa13ab80bf3d14e244066c2ba1bd4d11b
This commit is contained in:
parent
3581f45667
commit
665f19c868
1 changed files with 2 additions and 0 deletions
|
@ -224,6 +224,7 @@ genfscon tracefs /events/kmem/ion_heap_shrink/ u:objec
|
|||
genfscon tracefs /events/oom/oom_score_adj_update/ u:object_r:debugfs_tracing:s0
|
||||
genfscon tracefs /events/task/task_rename/ u:object_r:debugfs_tracing:s0
|
||||
genfscon tracefs /events/task/task_newtask/ u:object_r:debugfs_tracing:s0
|
||||
genfscon tracefs /events/ftrace/print/ u:object_r:debugfs_tracing:s0
|
||||
|
||||
genfscon debugfs /tracing/trace_clock u:object_r:debugfs_tracing:s0
|
||||
genfscon debugfs /tracing/buffer_size_kb u:object_r:debugfs_tracing:s0
|
||||
|
@ -263,6 +264,7 @@ genfscon debugfs /events/kmem/ion_heap_shrink/
|
|||
genfscon debugfs /events/oom/oom_score_adj_update/ u:object_r:debugfs_tracing:s0
|
||||
genfscon debugfs /events/task/task_rename/ u:object_r:debugfs_tracing:s0
|
||||
genfscon debugfs /events/task/task_newtask/ u:object_r:debugfs_tracing:s0
|
||||
genfscon debugfs /tracing/events/ftrace/print/ u:object_r:debugfs_tracing:s0
|
||||
|
||||
genfscon debugfs /kcov u:object_r:debugfs_kcov:s0
|
||||
|
||||
|
|
Loading…
Reference in a new issue