On Mon, Jul 27, 2020 at 12:21 PM Roman Gushchin <g...@fb.com> wrote: > > Since bpf stopped using memlock rlimit to limit the memory usage, > there is no more reason for perf to alter its own limit. > > Signed-off-by: Roman Gushchin <g...@fb.com> > ---
Cc'd Armaldo, but I'm guessing it's a similar situation that latest perf might be running on older kernel and should keep working. > tools/perf/builtin-trace.c | 10 ---------- > tools/perf/tests/builtin-test.c | 6 ------ > tools/perf/util/Build | 1 - > tools/perf/util/rlimit.c | 29 ----------------------------- > tools/perf/util/rlimit.h | 6 ------ > 5 files changed, 52 deletions(-) > delete mode 100644 tools/perf/util/rlimit.c > delete mode 100644 tools/perf/util/rlimit.h > [...]