[PATCH 4.18 049/235] perf tests: Fix record+probe_libc_inet_pton.sh when event exists