--------------------------------------------------------------------------- apt show oprofile WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Package: oprofile Version: 1.1.0-0ubuntu1 Priority: optional Section: universe/devel Origin: Ubuntu Maintainer: Ubuntu Developers Original-Maintainer: LIU Qi Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 10.8 MB Depends: adduser, debconf | debconf-2.0, libopagent1 (= 1.1.0-0ubuntu1), libc6 (>= 2.17), libgcc1 (>= 1:3.0), libpopt0 (>= 1.14), libstdc++6 (>= 5.2), zlib1g (>= 1:1.2.0) Recommends: binutils Suggests: oprofile-gui Conflicts: oprofile-modules0.2, oprofile-modules0.3, oprofile-modules0.4, oprofile-modules0.5, oprofile-modules0.6, oprofile-modules0.7, oprofile-modules0.8 Replaces: oprofile-common Homepage: http://oprofile.sourceforge.net Download-Size: 1,318 kB APT-Manual-Installed: yes APT-Sources: http://ports.ubuntu.com xenial/universe s390x Packages Description: system-wide profiler for Linux systems OProfile is a performance profiling tool for Linux systems, capable of profiling all running code at low overhead. It consists of a daemon for collecting sample data, plus several post-profiling tools for turning data into information. . OProfile leverages the hardware performance counters of the CPU to enable profiling of a wide variety of interesting statistics, which can also be used for basic time-spent profiling. All code is profiled: hardware and software interrupt handlers, kernel modules, the kernel, shared libraries, and applications (the only exception being the OProfile interrupt handler itself). Note that different architectures can use different hardware mechanisms to collect data. . OProfile is currently in alpha status; however it has proven stable over a large number of differing configurations. As always, there is no warranty. ------------------------------------------------------------- operf -v Unable to obtain cpu_type Verify that a pre-1.0 version of OProfile is not in use. If the /dev/oprofile/cpu_type file exists, locate the pre-1.0 OProfile installation, and use its 'opcontrol' command, passing the --deinit option. Unable to ascertain cpu type. Exiting. ------------------------------------------------------------- strace operf execve("/usr/bin/operf", ["operf"], [/* 19 vars */]) = 0 brk(NULL) = 0x2aa30d26000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3ff81bfd000 mmap(NULL, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3ff81bf8000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=45661, ...}) = 0 mmap(NULL, 45661, PROT_READ, MAP_PRIVATE, 3, 0) = 0x3ff81b00000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3ff81bf7000 open("/usr/lib/s390x-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\2\1\3\0\0\0\0\0\0\0\0\0\3\0\26\0\0\0\1\0\0\0\0\0\t{@"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=1817744, ...}) = 0 mmap(NULL, 1832672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ff81900000 mprotect(0x3ff81aaf000, 4096, PROT_NONE) = 0 mmap(0x3ff81ab0000, 53248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1af000) = 0x3ff81ab0000 mmap(0x3ff81abd000, 9952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3ff81abd000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/s390x-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\2\1\0\0\0\0\0\0\0\0\0\0\3\0\26\0\0\0\1\0\0\0\0\0\0$\200"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=64984, ...}) = 0 mmap(NULL, 67768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ff81880000 mmap(0x3ff81890000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x3ff81890000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/s390x-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\2\1\3\0\0\0\0\0\0\0\0\0\3\0\26\0\0\0\1\0\0\0\0\0\0020\10"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1618936, ...}) = 0 mmap(NULL, 1628776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ff81680000 mmap(0x3ff81804000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x183000) = 0x3ff81804000 mmap(0x3ff8180a000, 14952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3ff8180a000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/s390x-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\2\1\0\0\0\0\0\0\0\0\0\0\3\0\26\0\0\0\1\0\0\0\0\0\0Z\230"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=684248, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3ff81bf6000 mmap(NULL, 684784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ff81580000 mprotect(0x3ff81625000, 4096, PROT_NONE) = 0 mmap(0x3ff81626000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa5000) = 0x3ff81626000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3ff81bf5000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3ff81bf4000 mprotect(0x3ff81804000, 16384, PROT_READ) = 0 mprotect(0x3ff81626000, 4096, PROT_READ) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3ff81bf3000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3ff81bf2000 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3ff81bf0000 mprotect(0x3ff81ab0000, 36864, PROT_READ) = 0 mprotect(0x2aa28849000, 4096, PROT_READ) = 0 mprotect(0x3ff81ba4000, 4096, PROT_READ) = 0 munmap(0x3ff81b00000, 45661) = 0 brk(NULL) = 0x2aa30d26000 brk(0x2aa30d58000) = 0x2aa30d58000 open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 open("/proc/sys/kernel/perf_event_paranoid", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 read(4, "1\n", 1024) = 2 close(4) = 0 geteuid() = 0 open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 4 read(4, "0-129\n", 8192) = 6 close(4) = 0 open("/sys/devices/system/cpu/online", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 read(4, "0-129\n", 4096) = 6 close(4) = 0 getpid() = 14702 perf_event_open(0x3ffff7fe3a8, 14702, 0, -1, 0) = 4 uname({sysname="Linux", nodename="s35lp26", ...}) = 0 open("/proc/cpuinfo", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 read(5, "vendor_id : IBM/S390\n# pro"..., 1024) = 1024 close(5) = 0 write(2, "Unable to obtain cpu_type\n", 26Unable to obtain cpu_type ) = 26 write(2, "Verify that a pre-1.0 version of"..., 204Verify that a pre-1.0 version of OProfile is not in use. If the /dev/oprofile/cpu_type file exists, locate the pre-1.0 OProfile installation, and use its 'opcontrol' command, passing the --deinit option. ) = 204 write(2, "Unable to ascertain cpu type. E"..., 39Unable to ascertain cpu type. Exiting.) = 39 write(2, "\n", 1 ) = 1 close(3) = 0 exit_group(1) = ? +++ exited with 1 +++