Skip to content

Commit

Permalink
Reduce strsize to avoid BPF hash map key size limitations
Browse files Browse the repository at this point in the history
Some older kernels impose a limitations on the key size for BPF hash
maps based on the maximum BPF stack size.  That limitation was lifted
before the 5.4 kernel series but the verifier kept imposing it until
the 5.12 kernel series.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Reviewed-by: Eugene Loh <eugene.loh@oracle.com>
  • Loading branch information
kvanhees committed Mar 23, 2022
1 parent 8839c6b commit 14bd860
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unittest/arrays/tst.basic6.d
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@


#pragma D option quiet
#pragma D option strsize=64

BEGIN
{
Expand Down

0 comments on commit 14bd860

Please sign in to comment.