[PATCH openEuler-5.10 01/71] perf mem: Search event name with more flexible path