From 725b377d21cbc07f3ee1239a20f7d1eff32b3197 Mon Sep 17 00:00:00 2001 From: li_yiting Date: Wed, 11 Aug 2021 20:28:33 +0800 Subject: [PATCH] Fix:Modify the ohosprofiler file Signed-off-by: liyiting --- .../src/main/resources/ohos/ohosprofiler | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/host/ohosprofiler/src/main/resources/ohos/ohosprofiler b/host/ohosprofiler/src/main/resources/ohos/ohosprofiler index 83502ab00..af46dbb14 100644 --- a/host/ohosprofiler/src/main/resources/ohos/ohosprofiler +++ b/host/ohosprofiler/src/main/resources/ohos/ohosprofiler @@ -82,19 +82,6 @@ function start_v7daemon(){ exit 0 } -function start_java_heap(){ - echo "start collect heap ${process_name}" - run-as ${process_name} sh -c 'cp /data/local/tmp/developtools/libagentplugin.z.so ./' - #run-as ${process_name} sh -c "cp /data/local/tmp/libagentplugin.z.so ./" - sh -c "cmd activity attach-agent ${process_name} /data/data/${process_name}/libagentplugin.z.so" - if [ "$?" == "0" ]; then - echo "start javaHeapSuccess" - else - echo "failed" - fi - exit 0 -} - function uzip_file(){ echo "uzip devtools file" -- Gitee