diff --git a/host/ohosprofiler/src/main/resources/ohos/ohosprofiler b/host/ohosprofiler/src/main/resources/ohos/ohosprofiler index 83502ab0004be6d9f3d30d131ec1837afa2359d2..af46dbb148ad4fa38e514f449e387be829d3bd13 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"