diff --git a/source/tools/detect/mem/podmem/memcache/offset.cpp b/source/tools/detect/mem/podmem/memcache/offset.cpp index de26e093da61de1e63356d8f69f79edb697d6501..3595c0c7c591638112c73b0dafbfded8ce978bf3 100644 --- a/source/tools/detect/mem/podmem/memcache/offset.cpp +++ b/source/tools/detect/mem/podmem/memcache/offset.cpp @@ -150,10 +150,11 @@ static int download_btf(void) if(getenv("SYSAK_WORK_PATH") != NULL) { sysak_path = getenv("SYSAK_WORK_PATH") ; - sysak_path += "/tools"; + sysak_path += "/tools/"; + sysak_path += kernel; } - snprintf(dw, LEN + LEN + LEN, "wget -T 5 -t 2 -q -O %s/%s/vmlinux-%s https://sysom-cn-%s.oss-cn-%s%s.aliyuncs.com/home/hive/btf/%s/vmlinux-%s",sysak_path.c_str(), kernel, kernel, ®ion[3],®ion[3],timeout.c_str(),arch, kernel); + snprintf(dw, LEN + LEN + LEN, "wget -T 5 -t 2 -q -O %s/vmlinux-%s https://sysom-cn-%s.oss-cn-%s%s.aliyuncs.com/home/hive/btf/%s/vmlinux-%s",sysak_path.c_str(), kernel, ®ion[3],®ion[3],timeout.c_str(),arch, kernel); do_cmd(dw, kernel, LEN); return 0;