![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0 0002 // Copyright (c) 2019 Facebook 0003 #define STACK_MAX_LEN 600 0004 /* Full unroll of 600 iterations will have total 0005 * program size close to 298k insns and this may 0006 * cause BPF_JMP insn out of 16-bit integer range. 0007 * So limit the unroll size to 150 so the 0008 * total program size is around 80k insns but 0009 * the loop will still execute 600 times. 0010 */ 0011 #define UNROLL_COUNT 150 0012 #include "pyperf.h"
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |