Hi @DaneLLL ,
I always sudo.
However, I tried to strace, and I think I found the source of the error:
execve("/usr/bin/tegrastats", ["tegrastats"], 0xffffc03945b0 /* 13 vars */) = 0
brk(NULL) = 0xaaab06201000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffff90cc7000
faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=118683, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 118683, PROT_READ, MAP_PRIVATE, 3, 0) = 0xffff90c75000
close(3) = 0
openat(AT_FDCWD, "/lib/aarch64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=551064, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 680048, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffff90bce000
mmap(0xffff90bd0000, 614512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0xffff90bd0000
munmap(0xffff90bce000, 8192) = 0
munmap(0xffff90c67000, 53360) = 0
mprotect(0xffff90c56000, 61440, PROT_NONE) = 0
mmap(0xffff90c65000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x85000) = 0xffff90c65000
close(3) = 0
openat(AT_FDCWD, "/lib/aarch64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\340u\2\0\0\0\0\0"..., 832) = 832
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=1641496, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 1810024, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffff90a16000
mmap(0xffff90a20000, 1744488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0xffff90a20000
munmap(0xffff90a16000, 40960) = 0
munmap(0xffff90bca000, 24168) = 0
mprotect(0xffff90ba9000, 61440, PROT_NONE) = 0
mmap(0xffff90bb8000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x188000) = 0xffff90bb8000
mmap(0xffff90bbe000, 48744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffff90bbe000
close(3) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffff90cc5000
set_tid_address(0xffff90cc50f0) = 2942847
set_robust_list(0xffff90cc5100, 24) = 0
rseq(0xffff90cc57c0, 0x20, 0, 0xd428bc00) = 0
mprotect(0xffff90bb8000, 16384, PROT_READ) = 0
mprotect(0xffff90c65000, 4096, PROT_READ) = 0
mprotect(0xaaaad3acf000, 4096, PROT_READ) = 0
mprotect(0xffff90ccc000, 8192, PROT_READ) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
munmap(0xffff90c75000, 118683) = 0
openat(AT_FDCWD, "/tmp/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
newfstatat(3, "", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}, AT_EMPTY_PATH) = 0
getrandom("\x1a\x2a\x3a\xf2\x3d\x53\xb5\xf6", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0xaaab06201000
brk(0xaaab06222000) = 0xaaab06222000
close(3) = 0
getuid() = 0
openat(AT_FDCWD, "/tmp/.tstats.txt", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=1154, ...}, AT_EMPTY_PATH) = 0
read(3, "APE,/sys/kernel/debug/bpmp/debug"..., 4096) = 1154
read(3, "", 4096) = 0
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/present", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "0-7\n", 4096) = 4
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu5/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu6/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu7/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/node/has_cpu", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/present", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "0-7\n", 4096) = 4
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/node/node0/cpumap", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "ff\n", 4096) = 3
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/gpu_pci/clocks/gpcclk", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/bus/pci/drivers/nvgpu/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/kernel/debug/nvmap/iram/size", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/proc/meminfo", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "MemTotal: 31433744 kB\nMemF"..., 1024) = 1024
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/tegra_denver/nvmstats/instantaneous_stats", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/devices/virtual/thermal/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
getdents64(3, 0xaaab06202e30 /* 16 entries */, 32768) = 608
getdents64(3, 0xaaab06202e30 /* 0 entries */, 32768) = 0
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
getdents64(3, 0xaaab06202e30 /* 16 entries */, 32768) = 608
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone2/temp", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, 0xaaab0620ae80, 4096) = -1 EAGAIN (Resource temporarily unavailable)
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone0/temp", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "54437\n", 4096) = 6
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone0/type", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "cpu-thermal\n", 4096) = 12
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone9/temp", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "43750\n", 4096) = 6
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone9/type", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "tboard-thermal\n", 4096) = 15
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone7/temp", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "50500\n", 4096) = 6
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone7/type", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "soc2-thermal\n", 4096) = 13
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone10/temp", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "44375\n", 4096) = 6
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone10/type", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "tdiode-thermal\n", 4096) = 15
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone5/temp", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "50625\n", 4096) = 6
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone5/type", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "soc0-thermal\n", 4096) = 13
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone3/temp", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, 0xaaab0620b120, 4096) = -1 EAGAIN (Resource temporarily unavailable)
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone1/temp", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, 0xaaab0620b190, 4096) = -1 EAGAIN (Resource temporarily unavailable)
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone8/temp", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "54531\n", 4096) = 6
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone8/type", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "tj-thermal\n", 4096) = 11
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone6/temp", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "51156\n", 4096) = 6
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone6/type", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "soc1-thermal\n", 4096) = 13
close(4) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone4/temp", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, 0xaaab0620b2e0, 4096) = -1 EAGAIN (Resource temporarily unavailable)
close(4) = 0
getdents64(3, 0xaaab06202e30 /* 0 entries */, 32768) = 0
close(3) = 0
openat(AT_FDCWD, "/sys/bus/i2c/devices/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
close(3) = 0
openat(AT_FDCWD, "/sys/bus/i2c/devices/0-0040/name", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/bus/i2c/devices/0-0041/name", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/bus/i2c/devices/1-0040/name", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "ina3221\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/bus/i2c/devices/1-0041/name", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "ina3221\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/bus/i2c/devices/6-0040/name", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/bus/i2c/devices/7-0040/name", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/bus/i2c/devices/2-0040/name", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
getdents64(3, 0xaaab06202e30 /* 45 entries */, 32768) = 1504
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/name", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "ina3221\n", 4096) = 8
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/in1_label", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "VDD_GPU_SOC\n", 4096) = 12
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/in1_input", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "12176\n", 4096) = 6
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/curr1_input", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "340\n", 4096) = 4
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/in2_label", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "VDD_CPU_CV\n", 4096) = 11
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/in2_input", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "12168\n", 4096) = 6
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/curr2_input", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "280\n", 4096) = 4
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/in3_label", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "VIN_SYS_5V0\n", 4096) = 12
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/in3_input", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "5000\n", 4096) = 5
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/curr3_input", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "940\n", 4096) = 4
close(4) = 0
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
getdents64(3, 0xaaab06202e30 /* 43 entries */, 32768) = 1440
openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/name", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "ina3221\n", 4096) = 8
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/in1_label", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/in1_input", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, 0xaaab0620b4a0, 4096) = -1 ENODATA (No data available)
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/in2_label", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "VDDQ_VDD2_1V8AO\n", 4096) = 16
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/in2_input", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "4992\n", 4096) = 5
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/curr2_input", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "320\n", 4096) = 4
close(4) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/in3_label", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/in3_input", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, 0xaaab0620b540, 4096) = -1 ENODATA (No data available)
close(4) = 0
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
getdents64(3, 0xaaab06202e30 /* 9 entries */, 32768) = 256
openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/name", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "pwmfan\n", 4096) = 7
close(4) = 0
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
getdents64(3, 0xaaab06202e30 /* 28 entries */, 32768) = 944
openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/name", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(4, "tmp451\n", 4096) = 7
close(4) = 0
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon4/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon/hwmon5/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon/hwmon6/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon/hwmon7/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon/hwmon8/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon/hwmon9/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon/hwmon10/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon/hwmon11/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon/hwmon12/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon/hwmon13/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon/hwmon14/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/hwmon/hwmon15/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/tmp/.tstats.txt", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=0, ...}, AT_EMPTY_PATH) = 0
write(3, "APE,/sys/kernel/debug/bpmp/debug"..., 1154) = 1154
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/ape/rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0600, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "174999902\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/emc/rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0600, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "2133000000\n", 4096) = 11
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/nafll_gpc0/pto_counter", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/nafll_gpc1/pto_counter", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/nvenc/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/nvenc/rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0600, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "793600000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/nvdec/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/nvdec/rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0600, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "857600000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/nvjpg/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/nvjpg/rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0600, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "729600000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/nvjpg1/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/nvjpg1/clk_rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "729600000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/vic/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/vic/clk_rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "729600000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/ofa/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/ofa/clk_rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "780800000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/dla0_core/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/dla0_core/clk_rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "1408000000\n", 4096) = 11
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/dla1_core/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/dla1_core/clk_rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "1408000000\n", 4096) = 11
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/pva0_vps/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/pva0_vps/clk_rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "704000000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu5/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu6/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu7/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/in1_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "12176\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/curr1_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "340\n", 4096) = 4
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/in2_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "12168\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/curr2_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "280\n", 4096) = 4
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/in3_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "5000\n", 4096) = 5
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/curr3_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "940\n", 4096) = 4
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/in2_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "4992\n", 4096) = 5
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/curr2_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "320\n", 4096) = 4
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone0/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "54750\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone9/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "43750\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone7/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "50468\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone10/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "44375\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone5/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "50531\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone8/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "54750\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone6/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "51031\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu0/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu1/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu2/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu3/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu4/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu5/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu6/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu7/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/proc/stat", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "cpu 22301444 10207 11932995 826"..., 1024) = 1024
read(3, " 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"..., 1024) = 367
read(3, "", 1024) = 0
close(3) = 0
openat(AT_FDCWD, "/proc/meminfo", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "MemTotal: 31433744 kB\nMemF"..., 1024) = 1024
close(3) = 0
openat(AT_FDCWD, "/proc/buddyinfo", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "Node 0, zone DMA 2974 2"..., 1024) = 228
read(3, "", 1024) = 0
close(3) = 0
clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=1, tv_nsec=0}, NULL) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/ape/rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0600, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "174999902\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/emc/rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0600, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "2133000000\n", 4096) = 11
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/nafll_gpc0/pto_counter", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/nafll_gpc1/pto_counter", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/nvenc/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/nvenc/rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0600, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "793600000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/nvdec/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/nvdec/rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0600, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "857600000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/nvjpg/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/bpmp/debug/clk/nvjpg/rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0600, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "729600000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/nvjpg1/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/nvjpg1/clk_rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "729600000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/vic/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/vic/clk_rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "729600000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/ofa/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/ofa/clk_rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "780800000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/dla0_core/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/dla0_core/clk_rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "1408000000\n", 4096) = 11
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/dla1_core/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/dla1_core/clk_rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "1408000000\n", 4096) = 11
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/pva0_vps/clk_enable_count", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "0\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/kernel/debug/clk/pva0_vps/clk_rate", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "704000000\n", 4096) = 10
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu5/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu6/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu7/cpufreq/cpuinfo_cur_freq", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0400, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "2188800\n", 4096) = 8
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/in1_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "12176\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/curr1_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "340\n", 4096) = 4
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/in2_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "12168\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/curr2_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "260\n", 4096) = 4
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/in3_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "5000\n", 4096) = 5
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/curr3_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "920\n", 4096) = 4
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/in2_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "4992\n", 4096) = 5
close(3) = 0
openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/curr2_input", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "320\n", 4096) = 4
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone0/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "54250\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone9/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "43750\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone7/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "50531\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone10/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "44375\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone5/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "50531\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone8/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "54156\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/virtual/thermal/thermal_zone6/temp", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "51062\n", 4096) = 6
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu0/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu1/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu2/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu3/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu4/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu5/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu6/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu/cpu7/online", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
read(3, "1\n", 4096) = 2
close(3) = 0
openat(AT_FDCWD, "/proc/stat", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "cpu 22301573 10207 11933095 826"..., 1024) = 1024
read(3, " 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"..., 1024) = 367
read(3, "", 1024) = 0
close(3) = 0
openat(AT_FDCWD, "/proc/meminfo", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "MemTotal: 31433744 kB\nMemF"..., 1024) = 1024
close(3) = 0
openat(AT_FDCWD, "/proc/buddyinfo", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
read(3, "Node 0, zone DMA 2974 2"..., 1024) = 228
read(3, "", 1024) = 0
close(3) = 0
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=114, ...}, AT_EMPTY_PATH) = 0
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=114, ...}, AT_EMPTY_PATH) = 0
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 114
lseek(3, -60, SEEK_CUR) = 54
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 60
close(3) = 0
newfstatat(1, "", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x3), ...}, AT_EMPTY_PATH) = 0
Some sys files are missing like this ones:
/sys/kernel/debug/gpu_pci/clocks/gpcclk
/sys/bus/pci/drivers/nvgpu/
/sys/kernel/debug/nvmap/iram/size
I found out that nvgpu module was not loaded.
I tried to do it :
sudo modprobe nvgpu
but it fails saying :
modprobe: ERROR: could not insert ‘nvgpu’: Exec format error
Here is the output of sudo modinfo nvgpu:
filename: /lib/modules/5.15.122-tegra/extra/nvgpu.ko
license: GPL v2
softdep: pre: governor_pod_scaling
import_ns: DMA_BUF
alias: of:N*T*Cnvidia,ga10bC*
alias: of:N*T*Cnvidia,ga10b
alias: of:N*T*Cnvidia,gv11bC*
alias: of:N*T*Cnvidia,gv11b
alias: of:N*T*Cnvidia,tegra210-gm20bC*
alias: of:N*T*Cnvidia,tegra210-gm20b
depends: host1x-next,mc-utils,nvmap
name: nvgpu
vermagic: 5.15.122-tegra SMP preempt mod_unload modversions aarch64
sig_id: PKCS#7
signer: Build time autogenerated kernel key
sig_key: 36:8C:64:59:41:A8:3C:42:60:A1:96:66:74:13:82:DF:15:2E:1B:0A
sig_hashalgo: sha512
signature: D9:64:6A:C7:49:6C:74:0D:C1:D4:29:B2:A2:FB:6D:01:7F:89:F6:8E:
F9:D8:82:A5:21:A1:ED:1C:4B:FA:D9:E1:16:7E:0F:65:92:5C:D4:6C:
A4:08:37:49:AA:2A:57:39:CE:50:63:00:F0:A4:ED:0F:E1:D7:41:6D:
A9:4E:11:C2:65:03:F2:50:E0:DB:DE:A8:00:35:BF:5C:24:BA:2A:FE:
45:83:70:BC:44:1A:CF:AA:4F:79:D2:55:05:81:CF:BC:D5:2D:ED:27:
F9:EA:E7:AD:84:91:F0:52:A0:3F:90:57:40:E2:A8:83:6A:51:37:70:
9D:24:34:34:09:05:A6:D6:0C:35:73:29:4E:89:38:7E:E3:82:D4:5D:
44:AF:24:BF:20:7A:B6:4B:8F:FF:10:E7:55:C0:60:73:BA:5E:F8:50:
0E:1A:E0:76:B7:76:2D:67:77:82:21:39:28:EA:5A:CD:E5:B8:D3:51:
13:C8:5C:FF:29:1C:71:CC:41:95:2E:0A:DD:B6:20:AE:46:87:75:77:
E6:2D:31:31:AC:D3:83:2B:3A:0F:20:C6:E9:38:DA:A8:C8:A2:2F:D6:
71:91:63:F1:D9:70:22:2A:FA:E3:50:10:71:A8:45:DF:5D:DB:D8:9F:
76:21:E3:75:DF:3C:F4:24:EA:87:E7:87:7A:4C:6D:61:33:61:9A:9F:
71:BE:97:49:40:A4:68:07:F9:D2:AF:0B:D2:61:BB:5B:C5:1C:12:B9:
BD:88:88:73:86:DE:DE:2A:ED:72:EE:B8:7C:85:AB:32:67:0A:64:9C:
0A:8E:FE:9C:72:D3:85:04:D1:F4:CA:07:AA:DD:AA:DE:32:8D:87:7D:
E0:BF:A6:BF:95:57:0E:08:54:52:33:1E:6C:19:B3:5A:AF:61:A8:17:
18:C7:EF:D7:ED:F2:99:34:94:DF:41:32:39:4F:92:F7:B2:69:79:42:
4A:E3:B1:6F:D4:56:CC:EA:D2:9C:02:0F:53:B5:55:74:B0:05:34:18:
80:39:A1:F8:2B:40:0F:F1:59:1B:31:30:07:31:8B:DE:8D:E2:F5:A1:
4E:DB:16:50:DB:8B:51:48:A1:BE:57:A7:9F:D3:26:15:55:C7:AB:92:
05:9B:CC:D6:34:68:35:66:91:0A:A0:1B:19:A7:C1:13:4C:DF:F8:1A:
A5:F8:09:20:13:97:FD:FA:3D:E4:B0:DD:45:E1:FC:01:1B:7D:C6:CA:
F6:F3:58:B6:A8:B1:F8:AE:1C:F5:35:9F:72:2B:C7:80:AA:3B:42:EE:
3B:D4:85:04:37:CF:5D:D5:34:4F:05:DD:59:14:8C:72:C7:F6:97:9E:
36:35:76:82:19:0A:DA:89:33:45:C8:CF
parm: devfreq_timer:Specify gpu devfreq governor with module parameter. (charp)
parm: devfreq_gov:Specify gpu devfreq governor with module parameter. (charp)
parm: lpwr_enable:Enable/Disable nvgpu low power features with module parameter.
Each feature corresponds to two bits.
Odd bit indicates triggering the configuraion or not,
even bit indicates enabling/disabling a lpwr feature. (int)
Any idea ?