diff --git a/plugins/dynamic-tracking/vesions/macos.sh b/plugins/dynamic-tracking/vesions/macos.sh index f71fbaa58..8cacbdcd0 100644 --- a/plugins/dynamic-tracking/vesions/macos.sh +++ b/plugins/dynamic-tracking/vesions/macos.sh @@ -8,4 +8,12 @@ rootPath=$(dirname "$rootPath") serverPath=$(dirname "$rootPath") install_tmp=${rootPath}/tmp/mw_install.pl -SYS_ARCH=`arch` \ No newline at end of file +SYS_ARCH=`arch` + +# 关于macosx使用dtrace + +# https://groups.google.com/g/openresty/c/MswlH_8DDHA +# http://dtrace.org/blogs/brendan/2012/11/14/dtracing-in-anger/ + +# sudo dtrace -x ustackframes=100 -n 'pid$target::mach_msg_trap:entry { @[ustack()] = count(); } tick-30s { exit(0); }' -p 2915 -o out.SystemUIServer_stacks + diff --git a/plugins/mysql-apt/index.py b/plugins/mysql-apt/index.py index a82a460d7..49ef37a3c 100755 --- a/plugins/mysql-apt/index.py +++ b/plugins/mysql-apt/index.py @@ -2751,7 +2751,7 @@ def installPreInspection(version): if not sysName in ('debian', 'ubuntu'): return '仅支持debian,ubuntu' - if (sysName == 'debian' and not sysId in('11', '10')): + if (sysName == 'debian' and not sysId in('12', '11', '10')): return 'debian支持10,11' if (sysName == 'ubuntu' and version == '5.7' and not sysId in ('18.04')):