Advertisement
asavah

strace cpupower odroid c2

Jul 24th, 2016
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.62 KB | None | 0 0
  1. strace cpupower frequency-set -g ondemand
  2. execve("/usr/bin/cpupower", ["cpupower", "frequency-set", "-g", "ondemand"], [/* 18 vars */]) = 0
  3. brk(NULL) = 0x41b000
  4. faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
  5. openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  6. fstat(3, {st_mode=S_IFREG|0644, st_size=30052, ...}) = 0
  7. mmap(NULL, 30052, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9e326000
  8. close(3) = 0
  9. openat(AT_FDCWD, "/usr/lib/libcpupower.so.0", O_RDONLY|O_CLOEXEC) = 3
  10. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0000\31\0\0\0\0\0\0"..., 832) = 832
  11. fstat(3, {st_mode=S_IFREG|0775, st_size=15016, ...}) = 0
  12. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9e325000
  13. mmap(NULL, 78824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9e2f0000
  14. mprotect(0x7f9e2f3000, 65536, PROT_NONE) = 0
  15. mmap(0x7f9e303000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f9e303000
  16. close(3) = 0
  17. openat(AT_FDCWD, "/usr/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
  18. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0000\35\0\0\0\0\0\0"..., 832) = 832
  19. fstat(3, {st_mode=S_IFREG|0755, st_size=27224, ...}) = 0
  20. mmap(NULL, 90888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9e2d9000
  21. mprotect(0x7f9e2df000, 61440, PROT_NONE) = 0
  22. mmap(0x7f9e2ee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f9e2ee000
  23. close(3) = 0
  24. openat(AT_FDCWD, "/usr/lib/libpci.so.3", O_RDONLY|O_CLOEXEC) = 3
  25. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\220$\0\0\0\0\0\0"..., 832) = 832
  26. fstat(3, {st_mode=S_IFREG|0755, st_size=40264, ...}) = 0
  27. mmap(NULL, 104000, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9e2bf000
  28. mprotect(0x7f9e2c8000, 65536, PROT_NONE) = 0
  29. mmap(0x7f9e2d8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7f9e2d8000
  30. close(3) = 0
  31. openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  32. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0p\371\1\0\0\0\0\0"..., 832) = 832
  33. fstat(3, {st_mode=S_IFREG|0755, st_size=1259152, ...}) = 0
  34. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9e324000
  35. mmap(NULL, 1331928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9e179000
  36. mprotect(0x7f9e2a5000, 65536, PROT_NONE) = 0
  37. mmap(0x7f9e2b5000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12c000) = 0x7f9e2b5000
  38. mmap(0x7f9e2bb000, 13016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9e2bb000
  39. close(3) = 0
  40. openat(AT_FDCWD, "/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
  41. read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\270[\0\0\0\0\0\0"..., 832) = 832
  42. fstat(3, {st_mode=S_IFREG|0755, st_size=97400, ...}) = 0
  43. mmap(NULL, 177040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9e14d000
  44. mprotect(0x7f9e163000, 65536, PROT_NONE) = 0
  45. mmap(0x7f9e173000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f9e173000
  46. mmap(0x7f9e175000, 13200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9e175000
  47. close(3) = 0
  48. openat(AT_FDCWD, "/usr/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
  49. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\20!\0\0\0\0\0\0"..., 832) = 832
  50. fstat(3, {st_mode=S_IFREG|0755, st_size=93224, ...}) = 0
  51. mmap(NULL, 156960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9e126000
  52. mprotect(0x7f9e13c000, 65536, PROT_NONE) = 0
  53. mmap(0x7f9e14c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f9e14c000
  54. close(3) = 0
  55. openat(AT_FDCWD, "/usr/lib/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3
  56. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\3408\0\0\0\0\0\0"..., 832) = 832
  57. fstat(3, {st_mode=S_IFREG|0755, st_size=76200, ...}) = 0
  58. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9e323000
  59. mmap(NULL, 150024, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9e101000
  60. mprotect(0x7f9e112000, 65536, PROT_NONE) = 0
  61. mmap(0x7f9e122000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x7f9e122000
  62. mmap(0x7f9e124000, 6664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9e124000
  63. close(3) = 0
  64. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9e322000
  65. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9e321000
  66. mprotect(0x7f9e330000, 4096, PROT_READ) = 0
  67. munmap(0x7f9e326000, 30052) = 0
  68. set_tid_address(0x7f9e3210d0) = 366
  69. set_robust_list(0x7f9e3210e0, 24) = 0
  70. rt_sigaction(SIGRTMIN, {0x7f9e1525d0, [], SA_SIGINFO}, NULL, 8) = 0
  71. rt_sigaction(SIGRT_1, {0x7f9e1526b8, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
  72. rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
  73. getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
  74. openat(AT_FDCWD, "/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
  75. fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
  76. brk(NULL) = 0x41b000
  77. brk(0x444000) = 0x444000
  78. getdents64(3, /* 15 entries */, 32768) = 432
  79. getdents64(3, /* 0 entries */, 32768) = 0
  80. brk(0x43c000) = 0x43c000
  81. close(3) = 0
  82. openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
  83. fstat(3, {st_mode=S_IFREG|0644, st_size=2916416, ...}) = 0
  84. mmap(NULL, 2916416, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9de38000
  85. close(3) = 0
  86. openat(AT_FDCWD, "/proc/cpuinfo", O_RDONLY) = 3
  87. fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
  88. read(3, "processor\t: 0\nBogoMIPS\t: 2.00\nFe"..., 1024) = 645
  89. read(3, "", 1024) = 0
  90. close(3) = 0
  91. getuid() = 0
  92. newfstatat(AT_FDCWD, "/sys/devices/system/cpu/cpu0/", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
  93. openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
  94. fstat(3, {st_mode=S_IFREG|0644, st_size=2997, ...}) = 0
  95. read(3, "# Locale name alias data base.\n#"..., 4096) = 2997
  96. read(3, "", 4096) = 0
  97. close(3) = 0
  98. openat(AT_FDCWD, "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/cpupower.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  99. openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/cpupower.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  100. openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/cpupower.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  101. openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/cpupower.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  102. openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/cpupower.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  103. openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/cpupower.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
  104. fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
  105. write(1, "Setting cpu: 0\n", 15Setting cpu: 0
  106. ) = 15
  107. openat(AT_FDCWD, "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor", O_WRONLY) = 3
  108. write(3, "ondemand", 8) = 8
  109. close(3) = 0
  110. newfstatat(AT_FDCWD, "/sys/devices/system/cpu/cpu1/", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
  111. write(1, "Setting cpu: 1\n", 15Setting cpu: 1
  112. ) = 15
  113. openat(AT_FDCWD, "/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor", O_WRONLY) = 3
  114. write(3, "ondemand", 8) = 8
  115. close(3) = 0
  116. newfstatat(AT_FDCWD, "/sys/devices/system/cpu/cpu2/", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
  117. write(1, "Setting cpu: 2\n", 15Setting cpu: 2
  118. ) = 15
  119. openat(AT_FDCWD, "/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor", O_WRONLY) = 3
  120. write(3, "ondemand", 8) = 8
  121. close(3) = 0
  122. newfstatat(AT_FDCWD, "/sys/devices/system/cpu/cpu3/", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
  123. write(1, "Setting cpu: 3\n", 15Setting cpu: 3
  124. ) = 15
  125. openat(AT_FDCWD, "/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor", O_WRONLY) = 3
  126. write(3, "ondemand", 8) = 8
  127. close(3) = 0
  128. exit_group(0) = ?
  129. +++ exited with 0 +++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement