uprobe overhead when specifying a pid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I am using:
libbpf-cargo = "0.24.6"
libbpf-rs = "0.24.6"
libbpf-sys = "1.4.3"
On kernel 6.8.0-47-generic.
I contacted the libbpf-rs guys, and they told me this belonged here.
I am attaching 252 uprobes to a system, these symbols are not regularly called (90ish times over 9 minutes), however, when I specify a pid the throughput drops 3 times from 12k ops/sec to 4k ops/sec. When I do not specify a PID, and simply pass -1 the throughput remains the same (as it should, since 90 times is not significant to affect overhead I would say). It looks as if we are switching from userspace to kernel space without triggering the uprobe. Do not know if this is a known issue, it does not look like an intended behavior.




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux