tools/testing/selftests/bpf/prog_tests/atomic_bounds.c

Source file repositories/reference/linux-study-clean/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/bpf/prog_tests/atomic_bounds.c
Extension
.c
Size
321 bytes
Lines
18
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

// 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);
}

Annotation

Implementation Notes