aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c
blob: 69bd7853e8f1f933c1a32a0fe922f608cf86fdc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: GPL-2.0

#include <test_progs.h>

#include "atomic_bounds.skel.h"

void test_atomic_bounds(void)
{
	struct atomic_bounds *skel;
	__u32 duration = 0;

	skel = atomic_bounds__open_and_load();
	if (CHECK(!skel, "skel_load", "couldn't load program\n"))
		return;

	atomic_bounds__destroy(skel);
}