适配arm64 平台

This commit is contained in:
machunyu 2022-12-01 13:42:07 +08:00
parent a5ae768c4b
commit 6f27317658
7 changed files with 8 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,14 @@
#!/usr/bin/bash
ARCH=`arch`
if [ "$ARCH" == "aarch64" ];then
ARCH="arm64"
fi
DIR=`dirname $0`
BINLOADER=$DIR/${ARCH}/binloader
HIJACKLIBPATH=$DIR/${ARCH}/hijack_pthread.so
CLEANFILE=`ls /tmp/lock.info.*`
CLEANFILE=`ls /tmp/lock.info.* 2>/dev/null`
for tmpfile in ${CLEANFILE}
do
pid=`echo $tmpfile | awk -F '.' '{print $3}'`

View File

@ -1,6 +1,10 @@
#!/usr/bin/bash
ARCH=`arch`
if [ "$ARCH" == "aarch64" ];then
ARCH="arm64"
fi
DIR=`dirname $0`
CHECKTOOL=$DIR/${ARCH}/deadlockcheck