Linux Perf
msg_flags.c File Reference
#include <sys/types.h>
#include <sys/socket.h>
Include dependency graph for msg_flags.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MSG_PROBE   0x10
 
#define MSG_WAITFORONE   0x10000
 
#define MSG_SENDPAGE_NOTLAST   0x20000
 
#define MSG_FASTOPEN   0x20000000
 
#define MSG_CMSG_CLOEXEC   0x40000000
 
#define P_MSG_FLAG(n)
 
#define SCA_MSG_FLAGS   syscall_arg__scnprintf_msg_flags
 

Functions

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

Macro Definition Documentation

◆ MSG_CMSG_CLOEXEC

#define MSG_CMSG_CLOEXEC   0x40000000

Definition at line 18 of file msg_flags.c.

◆ MSG_FASTOPEN

#define MSG_FASTOPEN   0x20000000

Definition at line 15 of file msg_flags.c.

◆ MSG_PROBE

#define MSG_PROBE   0x10

Definition at line 6 of file msg_flags.c.

◆ MSG_SENDPAGE_NOTLAST

#define MSG_SENDPAGE_NOTLAST   0x20000

Definition at line 12 of file msg_flags.c.

◆ MSG_WAITFORONE

#define MSG_WAITFORONE   0x10000

Definition at line 9 of file msg_flags.c.

◆ P_MSG_FLAG

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

◆ SCA_MSG_FLAGS

#define SCA_MSG_FLAGS   syscall_arg__scnprintf_msg_flags

Definition at line 62 of file msg_flags.c.

Function Documentation

◆ syscall_arg__scnprintf_msg_flags()

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

Definition at line 21 of file msg_flags.c.