Lines Matching defs:uts
320 static struct utsname uts = { .machine[0] = '\0', };
322 if (uts.machine[0] == '\0')
323 uname(&uts);
324 if (uts.machine[0] != '\0')
325 arch = uts.machine;
366 struct utsname uts;
394 ret = uname(&uts);
395 env->os_release = strdup(ret < 0 ? perf_version_string : uts.release);
797 static struct utsname uts = { .machine[0] = '\0', };
799 if (uts.machine[0] == '\0')
800 uname(&uts);
801 if (uts.machine[0] != '\0')
802 arch = uts.machine;
848 static struct utsname uts = { .machine[0] = '\0', };
851 if (uts.machine[0] == '\0')
852 uname(&uts);
853 if (uts.machine[0] != '\0') {
854 host_e_machine = perf_arch_to_e_machine(uts.machine, -1);