All of lore.kernel.org
 help / color / mirror / Atom feed
* arch_prepare_bpf_trampoline() for arm ?
@ 2021-02-24 19:54 Luigi Rizzo
  2021-02-24 21:01 ` Daniel Borkmann
  0 siblings, 1 reply; 6+ messages in thread
From: Luigi Rizzo @ 2021-02-24 19:54 UTC (permalink / raw)
  To: bpf, Daniel Borkmann

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@iet.unipi.it  . 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)
-----------------------------------------+-------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-25  8:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24 19:54 arch_prepare_bpf_trampoline() for arm ? Luigi Rizzo
2021-02-24 21:01 ` Daniel Borkmann
2021-02-24 21:25   ` Toke Høiland-Jørgensen
2021-02-25  7:59     ` Jean-Philippe Brucker
2021-02-24 21:30   ` KP Singh
2021-02-24 22:27     ` Daniel Borkmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.