1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2019 Facebook
3 #define STACK_MAX_LEN 600
4 /* Full unroll of 600 iterations will have total
5  * program size close to 298k insns and this may
6  * cause BPF_JMP insn out of 16-bit integer range.
7  * So limit the unroll size to 150 so the
8  * total program size is around 80k insns but
9  * the loop will still execute 600 times.
10  */
11 #define UNROLL_COUNT 150
12 #include "pyperf.h"
13