We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5752c20 commit bb6b369Copy full SHA for bb6b369
tools/perf/tests/shell/record+probe_libc_inet_pton.sh
@@ -14,7 +14,7 @@
14
. "$(dirname "$0")/lib/probe_vfs_getname.sh"
15
16
libc=$(grep -w libc /proc/self/maps | head -1 | sed -r 's/.*[[:space:]](\/.*)/\1/g')
17
-nm -Dg $libc 2>/dev/null | fgrep -q inet_pton || exit 254
+nm -Dg $libc 2>/dev/null | grep -F -q inet_pton || exit 254
18
19
event_pattern='probe_libc:inet_pton(\_[[:digit:]]+)?'
20
@@ -94,7 +94,7 @@ delete_libc_inet_pton_event() {
94
}
95
96
# Check for IPv6 interface existence
97
-ip a sh lo | fgrep -q inet6 || exit 2
+ip a sh lo | grep -F -q inet6 || exit 2
98
99
skip_if_no_perf_probe && \
100
add_libc_inet_pton_event && \
0 commit comments