[PATCH openEuler-1.0-LTS] ftrace: Also allocate and copy hash for reading of filter files