[PATCH openEuler-5.10 30/87] trace: Add __print_ns_to_secs() and __print_ns_without_secs() helpers