Home
last modified time | relevance | path

Searched refs:uts (Results 1 – 5 of 5) sorted by relevance

/tools/perf/arch/
Dcommon.c154 struct utsname uts; in perf_env__lookup_binutils_path() local
160 if (uname(&uts) < 0) in perf_env__lookup_binutils_path()
167 if (!strcmp(normalize_arch(uts.machine), arch)) in perf_env__lookup_binutils_path()
/tools/power/cpupower/utils/
Dcpupower.c176 struct utsname uts; in main() local
204 ret = uname(&uts); in main()
205 if (!ret && !strcmp(uts.machine, "x86_64") && in main()
/tools/perf/
Dbuiltin-top.c159 struct utsname uts; in ui__warn_map_erange() local
160 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()
/tools/perf/util/
Dheader.c171 struct utsname uts; in write_hostname() local
174 ret = uname(&uts); in write_hostname()
178 return do_write_string(fd, uts.nodename); in write_hostname()
184 struct utsname uts; in write_osrelease() local
187 ret = uname(&uts); in write_osrelease()
191 return do_write_string(fd, uts.release); in write_osrelease()
197 struct utsname uts; in write_arch() local
200 ret = uname(&uts); in write_arch()
204 return do_write_string(fd, uts.machine); in write_arch()
Dsymbol.c1887 struct utsname uts; in vmlinux_path__init() local
1908 if (uname(&uts) < 0) in vmlinux_path__init()
1911 kernel_version = uts.release; in vmlinux_path__init()