Linux Perf
bpf-script-test-prologue.c File Reference
#include <uapi/linux/fs.h>
Include dependency graph for bpf-script-test-prologue.c:

Go to the source code of this file.

Macros

#define SEC(NAME)   __attribute__((section(NAME), used))
 
#define FMODE_READ   0x1
 
#define FMODE_WRITE   0x2
 

Functions

int bpf_func__null_lseek (void *ctx, int err, unsigned long _f_mode, unsigned long offset, unsigned long orig)
 
char _license [] SEC ("license")
 
int _version SEC ("version")
 

Variables

static void(* bpf_trace_printk )(const char *fmt, int fmt_size,...)
 

Macro Definition Documentation

◆ FMODE_READ

#define FMODE_READ   0x1

Definition at line 22 of file bpf-script-test-prologue.c.

◆ FMODE_WRITE

#define FMODE_WRITE   0x2

Definition at line 23 of file bpf-script-test-prologue.c.

◆ SEC

#define SEC (   NAME)    __attribute__((section(NAME), used))

Definition at line 9 of file bpf-script-test-prologue.c.

Function Documentation

◆ bpf_func__null_lseek()

int bpf_func__null_lseek ( void *  ctx,
int  err,
unsigned long  _f_mode,
unsigned long  offset,
unsigned long  orig 
)

Definition at line 29 of file bpf-script-test-prologue.c.

◆ SEC() [1/2]

char _license [] SEC ( "license"  )

◆ SEC() [2/2]

int _version SEC ( "version"  )

Variable Documentation

◆ bpf_trace_printk

void(* bpf_trace_printk) (const char *fmt, int fmt_size,...)
static
Initial value:
=
(void *) 6

Definition at line 25 of file bpf-script-test-prologue.c.