stream,hiebpf插件仅root下可用

Signed-off-by: ganchuantao <ganchuantao1@huawei.com>
Change-Id: Ie038181c46bd9aa048eb3674e170face4fd44dfe
This commit is contained in:
ganchuantao 2024-11-13 11:16:20 +08:00
parent 43b40f019e
commit 7bb458c92a

View File

@ -36,12 +36,14 @@ group("hiprofiler_targets") {
"plugins/network_plugin:networkplugin",
"plugins/process_plugin:processplugin",
"plugins/sample_plugin:sampleplugin",
"plugins/stream_plugin:streamplugin",
"plugins/xpower_plugin:xpowerplugin",
"services/profiler_service:hiprofilerd",
"services/shared_memory:shared_memory",
]
if (target_cpu == "arm64") {
if (build_variant == "root") {
deps += [ "plugins/stream_plugin:streamplugin" ]
}
if (target_cpu == "arm64" && build_variant == "root") {
deps += [ "plugins/hiebpf_plugin:ebpf_targets" ]
}
if (is_ohos && use_musl && !is_asan) {