[PATCH bpf-next v2 0/4] Add ftrace direct call for arm64

Steven Rostedt rostedt at goodmis.org
Wed Oct 5 08:07:07 PDT 2022


On Wed, 5 Oct 2022 22:54:15 +0800
Xu Kuohai <xukuohai at huawei.com> wrote:

> 1.3 attach bpf prog with with direct call, bpftrace -e 'kfunc:vfs_write {}'
> 
> # dd if=/dev/zero of=/dev/null count=1000000
> 1000000+0 records in
> 1000000+0 records out
> 512000000 bytes (512 MB, 488 MiB) copied, 1.72973 s, 296 MB/s
> 
> 
> 1.4 attach bpf prog with with indirect call, bpftrace -e 'kfunc:vfs_write {}'
> 
> # dd if=/dev/zero of=/dev/null count=1000000
> 1000000+0 records in
> 1000000+0 records out
> 512000000 bytes (512 MB, 488 MiB) copied, 1.99179 s, 257 MB/s

Can you show the implementation of the indirect call you used?

Thanks,

-- Steve



More information about the linux-arm-kernel mailing list