We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c09886 commit 5fec0cfCopy full SHA for 5fec0cf
scripts/01-postgres_check.sh
@@ -43,7 +43,7 @@ function check_lse_enabled {
43
if [ $ARCH = "aarch64" ]; then
44
echo -e "\nArchitecture is $ARCH. Checking for LSE:"
45
46
- LSE_COUNT=$(nm /usr/lib/postgresql/bin/postgres | grep __aarch64_have_lse_atomics | wc -l)
+ LSE_COUNT=$(objdump -d /usr/lib/postgresql/bin/postgres | grep -i 'ldxr\|ldaxr\|stxr\|stlxr' | wc -l)
47
MOUTLINE_ATOMICS_COUNT=$(nm /usr/lib/postgresql/bin/postgres | grep __aarch64_have_lse_atomics | wc -l)
48
49
# Checking for load and store exclusives
0 commit comments