def METHOD_NAME(self):
    # When input is used for report, then need to pass the file argument
    # to the same file, record should log the data. So altering record,
    # report options to have the proper arguments.
    output_file = "perf.data"
    if self.report == "-i":
        self.report = "-i %s" % output_file
    elif self.report == "--input":
        self.report = "--input=%s" % output_file
    elif self.report in ['-k', '--vmlinux']:
        if self.distro_name in ['rhel', 'fedora', 'centos']:
            self.report = self.report + \
                " /boot/vmlinuz-" + platform.uname()[2]
        elif self.distro_name in ['SuSE', 'Ubuntu']:
            self.report = self.report + \
                " /boot/vmlinux-" + platform.uname()[2]
    # Record command
    record_cmd = "perf c2c record -o %s %s -- ls" % (
        output_file, self.record)
    self.run_cmd(record_cmd)
    # Report command
    report_cmd = "perf c2c report %s" % self.report
    self.run_cmd(report_cmd)
    # Verify dmesg
    dmesg.collect_errors_dmesg(['WARNING: CPU:', 'Oops', 'Segfault',
                                'soft lockup', 'Unable to handle'])