122656Smpp// SPDX-License-Identifier: GPL-2.0 222656Smpp// Copyright (c) 2019 Facebook 322656Smpp#define STACK_MAX_LEN 600 450476Speter/* Full unroll of 600 iterations will have total 522656Smpp * program size close to 298k insns and this may 622656Smpp * cause BPF_JMP insn out of 16-bit integer range. 722656Smpp * So limit the unroll size to 150 so the 822656Smpp * total program size is around 80k insns but 922656Smpp * the loop will still execute 600 times. 1022656Smpp */ 1122656Smpp#define UNROLL_COUNT 150 1222656Smpp#include "pyperf.h" 1322656Smpp