6310f37df9fb80c019d8a8e39bd93e2a10753c72,perfkitbenchmarker/linux_virtual_machine.py,BaseLinuxMixin,os_info,#BaseLinuxMixin#,463

Before Change


      return self.os_metadata["os_info"]
    else:
      self.Install("lsb_release")
      stdout, _ = self.RemoteCommand("lsb_release -d")
      return regex_util.ExtractGroup(LSB_DESCRIPTION_REGEXP, stdout)

  @property
  def kernel_release(self):

After Change


    if self.os_metadata.get("os_info"):
      return self.os_metadata["os_info"]
    else:
      return self.GetOsInfo()

  @property
  def kernel_release(self):
    Return kernel release number.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 6310f37df9fb80c019d8a8e39bd93e2a10753c72
Time: 2019-09-19
Author: florin.papa@intel.com
File Name: perfkitbenchmarker/linux_virtual_machine.py
Class Name: BaseLinuxMixin
Method Name: os_info


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 9121332c18e024d417d1aeb189ec98f295ffc694
Time: 2020-07-28
Author: chriswilkes@google.com
File Name: perfkitbenchmarker/linux_packages/epel_release.py
Class Name:
Method Name: YumInstall


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: ddddfbb62a5aebbf8bd074280e4512fa7e6ee011
Time: 2021-02-18
Author: chriswilkes@google.com
File Name: perfkitbenchmarker/linux_packages/numactl.py
Class Name:
Method Name: GetNuma