Searched refs:uname_buf (Results 1 – 2 of 2) sorted by relevance
101 utsname uname_buf; in GetModulesInUse() local102 if (TEMP_FAILURE_RETRY(uname(&uname_buf)) != 0) { in GetModulesInUse()106 std::string linux_version = uname_buf.release; in GetModulesInUse()426 utsname uname_buf; in GetMachineArch()427 if (TEMP_FAILURE_RETRY(uname(&uname_buf)) != 0) { in GetMachineArch()431 ArchType arch = GetArchType(uname_buf.machine); in GetMachineArch()964 utsname uname_buf; in GetKernelVersion() local967 if (TEMP_FAILURE_RETRY(uname(&uname_buf)) != 0 || in GetKernelVersion()968 sscanf(uname_buf.release, "%d.%d", &major, &minor) != 2) { in GetKernelVersion()
1804 utsname uname_buf; in DumpAdditionalFeatures() local1805 if (TEMP_FAILURE_RETRY(uname(&uname_buf)) != 0) { in DumpAdditionalFeatures()1809 if (!record_file_writer_->WriteFeatureString(PerfFileFormat::FEAT_OSRELEASE, uname_buf.release)) { in DumpAdditionalFeatures()1812 if (!record_file_writer_->WriteFeatureString(PerfFileFormat::FEAT_ARCH, uname_buf.machine)) { in DumpAdditionalFeatures()