commit | 09464811ca13db457579a78590a31aaa9b836c12 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Fri Jun 29 14:53:34 2018 -0700 |
committer | Yabin Cui <yabinc@google.com> | Mon Jul 02 11:39:40 2018 -0700 |
tree | ec4d18f2144b14bdba9b834bbb9127ea53a5e65b | |
parent | d6c47bc1b557c87c27a603abb5a453ff0a70bb65 [diff] |
Export more files in proc_perf. Export /proc/sys/kernel/perf_cpu_time_max_percent and /proc/sys/kernel/perf_event_mlock_kb in proc_perf. So they can be read in shell and written by init. This is needed by simpleperf to control cpu percent and memory used for profiling. Bug: 110706031 Test: build and boot hikey960 successfully. Change-Id: I2a01f583508003ab73427bab30a7982a27dfa677