tools/testing/selftests/bpf/bpftool_helpers.h

Source file repositories/reference/linux-study-clean/tools/testing/selftests/bpf/bpftool_helpers.h

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/bpf/bpftool_helpers.h
Extension
.h
Size
276 bytes
Lines
12
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

#pragma once

#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>

#define MAX_BPFTOOL_CMD_LEN	(256)

int run_bpftool_command(char *args);
int get_bpftool_command_output(char *args, char *output_buf, size_t output_max_len);

Annotation

Implementation Notes