summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a6d9d6b)
raw | patch | inline | side by side (parent: a6d9d6b)
author | Andreas Gampe <agampe@google.com> | |
Fri, 30 Mar 2018 20:10:35 +0000 (13:10 -0700) | ||
committer | Andreas Gampe <agampe@google.com> | |
Mon, 2 Apr 2018 15:10:09 +0000 (08:10 -0700) |
Update for debugfs labeling changes.
Update for simpleperf behavior with stack traces (temp file).
Bug: 73175642
Test: m
Test: manual - run profiling, look for logs
Change-Id: Ie000a00ef56cc603f498d48d89001f566c03b661
Update for simpleperf behavior with stack traces (temp file).
Bug: 73175642
Test: m
Test: manual - run profiling, look for logs
Change-Id: Ie000a00ef56cc603f498d48d89001f566c03b661
public/perfprofd.te | patch | blob | history |
diff --git a/public/perfprofd.te b/public/perfprofd.te
index 494e75bed50c8def2efc2d507b66e21b5cea6737..f067af5d4a9b5da0c847ef04eadb4324f9b477e8 100644 (file)
--- a/public/perfprofd.te
+++ b/public/perfprofd.te
# simpleperf examines debugfs on startup to collect tracepoint event types
r_dir_file(perfprofd, debugfs_tracing)
- allow perfprofd debugfs_tracing_debug:file r_file_perms;
+ r_dir_file(perfprofd, debugfs_tracing_debug)
# simpleperf is going to execute "sleep"
allow perfprofd toolbox_exec:file rx_file_perms;
+ # simpleperf is going to execute "mv" on a temp file
+ allow perfprofd shell_exec:file rx_file_perms;
# needed for simpleperf on some kernels
allow perfprofd self:global_capability_class_set ipc_lock;