Fix: use vmalloc for filter bytecode allocation
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Nov 2020 18:29:47 +0000 (13:29 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Nov 2020 18:29:47 +0000 (13:29 -0500)
commit52cfcdf36dfa58e0b6fb0ac3e1809e5a2538a149
treefc07160150acf886a61849a35189f627fe7b9c4d
parent42f3ef8c98220bb940a470454186107e402af212
Fix: use vmalloc for filter bytecode allocation

Given that the filter bytecode can reach 64kB, use vmalloc rather than
kmalloc to minimize the chances of failure on systems with fragmented
memory.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/lttng-events.c
This page took 0.025625 seconds and 4 git commands to generate.