def METHOD_NAME(self):
    output = self.cmd_verify('%s ./uprobe_test doit%%return'
                             % self.cmdProbe)
    if 'Added new event' not in output.stderr.decode("utf-8"):
        self.fail("perf: probe of uprobe return failed")
    # RHEL and SLES15-SP2
    if (self.distro_name == "rhel" and self.detected_distro.version > "7")\
       or (self.distro_name == "SuSE" and
           self.detected_distro.version >= 15 and
           self.detected_distro.release >= 2):
        output = self.cmd_verify('%s__return -- ./uprobe_test'
                                 % self.recProbe)
    else:
        output = self.cmd_verify('%s -aR ./uprobe_test' % self.recProbe)
    if 'samples' not in output.stderr.decode("utf-8"):
        self.fail("perf: perf.data file not created")
    self.cmd_verify(self.report)