aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/profiler1.c
blob: 4df9088bfc0037a717d6e3a11fb375ea31daa62a (plain)
1
2
3
4
5
6
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2020 Facebook */
#define barrier_var(var) asm volatile("" : "=r"(var) : "0"(var))
#define UNROLL
#define INLINE __always_inline
#include "profiler.inc.h"