brendangregg / bpf-perf-tools-book

Official repository for the BPF Performance Tools book
1.61k stars 284 forks source link

Scripts throwing LLVM OOM #2

Closed mmarchini closed 4 years ago

mmarchini commented 5 years ago

Found two scripts affected by https://github.com/iovisor/bpftrace/issues/528:

There might be other scripts affected by this.

brendangregg commented 5 years ago

I added a 1 Gbyte memory limit to stop this issue causing too much pain ( https://github.com/iovisor/bpftrace/pull/636 ) and @mmarchini has a draft PR to properly fix it ( https://github.com/iovisor/bpftrace/pull/711 ).

brendangregg commented 4 years ago

I just tested on the latest bpftrace (v0.9.2-153-ga104) and these work fine. The bpftrace ticket has also been closed. Closing here as well.