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

Go to the source code of this file.

Macros

#define P_OPTION(n)
 
#define SCA_WAITID_OPTIONS   syscall_arg__scnprintf_waitid_options
 

Functions

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

Macro Definition Documentation

◆ P_OPTION

#define P_OPTION (   n)
Value:
if (options & W##n) { \
printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", #n); \
options &= ~W##n; \
}
size_t size
Definition: evsel.c:60
Definition: genelf.c:61

◆ SCA_WAITID_OPTIONS

#define SCA_WAITID_OPTIONS   syscall_arg__scnprintf_waitid_options

Definition at line 27 of file waitid_options.c.

Function Documentation

◆ syscall_arg__scnprintf_waitid_options()

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

Definition at line 5 of file waitid_options.c.