[openEuler-5.10 349/557] samples/kretprobes: Fix return value if register_kretprobe() failed