perf probe: Fix segfault when glob matching function without debuginfo