From da7ab71a3c89c9a74c5ad1e42d577d0c6c02ba20 Mon Sep 17 00:00:00 2001 From: Jing Zhang Date: Fri, 18 Oct 2024 09:46:33 +0800 Subject: [PATCH] anolis: Revert "perf/tests: fix record+probe_libc_inet_pton test on aarch64" ANBZ: #4342 This reverts commit 755b563a6714ef37924109392c5a56c41ddc13fe. glibc-2.32 version has getaddrinfo() in the call chain, but glibc-2.38 version hasn't, So commit 755b563a6714 can't fix it and revert it. Signed-off-by: Jing Zhang --- tools/perf/tests/shell/record+probe_libc_inet_pton.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/perf/tests/shell/record+probe_libc_inet_pton.sh b/tools/perf/tests/shell/record+probe_libc_inet_pton.sh index 6e79f024b536..1dcb91f8a847 100755 --- a/tools/perf/tests/shell/record+probe_libc_inet_pton.sh +++ b/tools/perf/tests/shell/record+probe_libc_inet_pton.sh @@ -50,12 +50,8 @@ trace_libc_inet_pton_backtrace() { echo "getaddrinfo\+0x[[:xdigit:]]+[[:space:]]\($libc\)$" >> $expected echo ".*(\+0x[[:xdigit:]]+|\[unknown\])[[:space:]]\(.*/bin/ping.*\)$" >> $expected ;; - x86_64) - eventattr='max-stack=3' - echo ".*(\+0x[[:xdigit:]]+|\[unknown\])[[:space:]]\(.*/bin/ping.*\)$" >> $expected *) eventattr='max-stack=3' - echo "getaddrinfo\+0x[[:xdigit:]]+[[:space:]]\($libc\)$" >> $expected echo ".*(\+0x[[:xdigit:]]+|\[unknown\])[[:space:]]\(.*/bin/ping.*\)$" >> $expected ;; esac -- Gitee