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

!1774 hiperf的配置文件移动到hiperf代码仓&hiviewdfx_profiler_param标签对应的系统参数大小设置-回合

Merge pull request !1774 from 孙帅元/monthly_20221018
......@@ -182,21 +182,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" : [
......
......@@ -22,3 +22,4 @@ devinfo_public_param=30720
sys_param=4096
bootevent_param=4096
startup_init_param=40960
hiviewdfx_profiler_param=2048
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册