]> Git Repo - linux.git/blob - tools/testing/selftests/bpf/progs/pyperf600.c
Linux 6.14-rc3
[linux.git] / tools / testing / selftests / bpf / progs / pyperf600.c
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"
This page took 0.029229 seconds and 4 git commands to generate.