Linux Perf
eventfd.c File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EFD_SEMAPHORE   1
 
#define EFD_NONBLOCK   00004000
 
#define EFD_CLOEXEC   02000000
 
#define P_FLAG(n)
 
#define SCA_EFD_FLAGS   syscall_arg__scnprintf_eventfd_flags
 

Functions

static size_t syscall_arg__scnprintf_eventfd_flags (char *bf, size_t size, struct syscall_arg *arg)
 

Macro Definition Documentation

◆ EFD_CLOEXEC

#define EFD_CLOEXEC   02000000

Definition at line 11 of file eventfd.c.

◆ EFD_NONBLOCK

#define EFD_NONBLOCK   00004000

Definition at line 7 of file eventfd.c.

◆ EFD_SEMAPHORE

#define EFD_SEMAPHORE   1

Definition at line 3 of file eventfd.c.

◆ P_FLAG

#define P_FLAG (   n)
Value:
if (flags & EFD_##n) { \
printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", #n); \
flags &= ~EFD_##n; \
}
size_t size
Definition: evsel.c:60
u32 flags

◆ SCA_EFD_FLAGS

#define SCA_EFD_FLAGS   syscall_arg__scnprintf_eventfd_flags

Definition at line 37 of file eventfd.c.

Function Documentation

◆ syscall_arg__scnprintf_eventfd_flags()

static size_t syscall_arg__scnprintf_eventfd_flags ( char *  bf,
size_t  size,
struct syscall_arg arg 
)
static

Definition at line 14 of file eventfd.c.