未验证 提交 d87ae9f1 编写于 作者: O openharmony_ci 提交者: Gitee

!1729 hiperf支持user模式

Merge pull request !1729 from zhangjian22/master
......@@ -184,21 +184,6 @@
"cmds" : [
"write /proc/sys/net/ipv4/tcp_default_init_rwnd ${sys.sysctl.tcp_def_init_rwnd}"
]
}, {
"name" : "param:security.perf_harden=0",
"condition" : "security.perf_harden=0",
"cmds" : [
"write /proc/sys/kernel/perf_event_paranoid 1",
"write /proc/sys/kernel/perf_event_max_sample_rate ${debug.perf_event_max_sample_rate:-100000}",
"write /proc/sys/kernel/perf_cpu_time_max_percent ${debug.perf_cpu_time_max_percent:-25}",
"write /proc/sys/kernel/perf_event_mlock_kb ${debug.perf_event_mlock_kb:-516}"
]
}, {
"name" : "param:security.perf_harden=1",
"condition" : "security.perf_harden=1",
"cmds" : [
"write /proc/sys/kernel/perf_event_paranoid 3"
]
}, {
"name" : "services:console",
"cmds" : [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册