Searched refs:uts (Results 1 – 5 of 5) sorted by relevance
154 struct utsname uts; in perf_env__lookup_binutils_path() local160 if (uname(&uts) < 0) in perf_env__lookup_binutils_path()167 if (!strcmp(normalize_arch(uts.machine), arch)) in perf_env__lookup_binutils_path()
176 struct utsname uts; in main() local204 ret = uname(&uts); in main()205 if (!ret && !strcmp(uts.machine, "x86_64") && in main()
159 struct utsname uts; in ui__warn_map_erange() local160 int err = uname(&uts); in ui__warn_map_erange()176 err ? "[unknown]" : uts.machine, in ui__warn_map_erange()177 err ? "[unknown]" : uts.release, perf_version_string); in ui__warn_map_erange()
171 struct utsname uts; in write_hostname() local174 ret = uname(&uts); in write_hostname()178 return do_write_string(fd, uts.nodename); in write_hostname()184 struct utsname uts; in write_osrelease() local187 ret = uname(&uts); in write_osrelease()191 return do_write_string(fd, uts.release); in write_osrelease()197 struct utsname uts; in write_arch() local200 ret = uname(&uts); in write_arch()204 return do_write_string(fd, uts.machine); in write_arch()
1887 struct utsname uts; in vmlinux_path__init() local1908 if (uname(&uts) < 0) in vmlinux_path__init()1911 kernel_version = uts.release; in vmlinux_path__init()