[PATCH openEuler-5.10 34/71] perf c2c: Fix argument type for percent()