[PATCH openEuler-5.10 16/41] ftrace/samples: Add missing prototypes direct functions