I prepared a BPF version of kstats[1] https://github.com/luigirizzo/lr-cstats that uses fentry/fexit hooks to monitor the execution time of a kernel function. I hoped to have it working on ARM64 too, but it looks like arch_prepare_bpf_trampoline() only exists for x86. Is there any outstanding patch for this function on ARM64, or any similar function I could look at to implement it myself ? thanks luigi [1] kstats is an in-kernel also in the above repo and previously discussed at https://lwn.net/Articles/813303/ -- -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@xxxxxxxxxxxx . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+-------------------------------