适配arm64 平台
This commit is contained in:
parent
a5ae768c4b
commit
6f27317658
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,11 +1,14 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
ARCH=`arch`
|
ARCH=`arch`
|
||||||
|
if [ "$ARCH" == "aarch64" ];then
|
||||||
|
ARCH="arm64"
|
||||||
|
fi
|
||||||
|
|
||||||
DIR=`dirname $0`
|
DIR=`dirname $0`
|
||||||
BINLOADER=$DIR/${ARCH}/binloader
|
BINLOADER=$DIR/${ARCH}/binloader
|
||||||
HIJACKLIBPATH=$DIR/${ARCH}/hijack_pthread.so
|
HIJACKLIBPATH=$DIR/${ARCH}/hijack_pthread.so
|
||||||
|
|
||||||
CLEANFILE=`ls /tmp/lock.info.*`
|
CLEANFILE=`ls /tmp/lock.info.* 2>/dev/null`
|
||||||
for tmpfile in ${CLEANFILE}
|
for tmpfile in ${CLEANFILE}
|
||||||
do
|
do
|
||||||
pid=`echo $tmpfile | awk -F '.' '{print $3}'`
|
pid=`echo $tmpfile | awk -F '.' '{print $3}'`
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
ARCH=`arch`
|
ARCH=`arch`
|
||||||
|
|
||||||
|
if [ "$ARCH" == "aarch64" ];then
|
||||||
|
ARCH="arm64"
|
||||||
|
fi
|
||||||
|
|
||||||
DIR=`dirname $0`
|
DIR=`dirname $0`
|
||||||
CHECKTOOL=$DIR/${ARCH}/deadlockcheck
|
CHECKTOOL=$DIR/${ARCH}/deadlockcheck
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue