On Mon, Aug 6, 2018 at 3:12 PM Krishna Chaitanya <chaitanya.m...@gmail.com> wrote: > > Hi, > > If we want to use BPF for memory leak for driver modules, we can only > print outstanding allocations which could potentially be freed at a > later time. > > Is there a simple way we could pre-load BPF (before driver insertion) > and check for the outstanding entries after the driver removal, which > are confirmed leaks? > > This is useful to debug memory allocations at insmod/rmmod. > > Currently, without insmod, BPF compilation fails as tracepoints are > not installed. And also if tracing is active, rmmod fails with > "resource in use". > +dev
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1427): https://lists.iovisor.org/g/iovisor-dev/message/1427 Mute This Topic: https://lists.iovisor.org/mt/24207437/21656 Group Owner: iovisor-dev+ow...@lists.iovisor.org Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-