[PATCH openEuler-5.10 29/87] trace: Add a generic function to read/write u64 values from tracefs