I am running
root@rk3318-box:/home/gthaker# uname -a
Linux rk3318-box 6.1.50-current-rockchip64 #3 SMP PREEMPT Wed Aug 30 14:11:13 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
on a H96 TV box that I am using as ADS-B hobby receiver. Generally works great. I was curious why I can't run "hwlatdetect" on my box. I get:
root@rk3318-box:/home/gthaker# hwlatdetect --duration=10s
Traceback (most recent call last):
File "/usr/sbin/hwlatdetect", line 553, in <module>
detect = Tracer()
File "/usr/sbin/hwlatdetect", line 324, in __init__
raise DetectorNotAvailable("hwlat", "hwlat tracer not available")
__main__.DetectorNotAvailable: ('hwlat', 'hwlat tracer not available')
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_sbin_hwlatdetect.0.crash'
Original exception was:
Traceback (most recent call last):
File "/usr/sbin/hwlatdetect", line 553, in <module>
detect = Tracer()
File "/usr/sbin/hwlatdetect", line 324, in __init__
raise DetectorNotAvailable("hwlat", "hwlat tracer not available")
__main__.DetectorNotAvailable: ('hwlat', 'hwlat tracer not available')
root@rk3318-box:/home/gthaker# cat /etc/issue.net
Armbian 23.8.3 jammy
root@rk3318-box:/home/gthaker# cat /sys/kernel/tracing/tracing_on
1
I am familiar with Linux in general but not very familiar with what it takes to get this to work. Will I have to build a new kernel w/ some more tracing options enabled? Where might I find instructions?
Thanks.