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

Go to the source code of this file.

Macros

#define S_IRWXUGO   (S_IRWXU|S_IRWXG|S_IRWXO)
 
#define S_IALLUGO   (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
 
#define S_IRUGO   (S_IRUSR|S_IRGRP|S_IROTH)
 
#define S_IWUGO   (S_IWUSR|S_IWGRP|S_IWOTH)
 
#define S_IXUGO   (S_IXUSR|S_IXGRP|S_IXOTH)
 
#define P_MODE(n)
 
#define SCA_MODE_T   syscall_arg__scnprintf_mode_t
 

Functions

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

Macro Definition Documentation

◆ P_MODE

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

◆ S_IALLUGO

#define S_IALLUGO   (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)

Definition at line 11 of file mode_t.c.

◆ S_IRUGO

#define S_IRUGO   (S_IRUSR|S_IRGRP|S_IROTH)

Definition at line 14 of file mode_t.c.

◆ S_IRWXUGO

#define S_IRWXUGO   (S_IRWXU|S_IRWXG|S_IRWXO)

Definition at line 8 of file mode_t.c.

◆ S_IWUGO

#define S_IWUGO   (S_IWUSR|S_IWGRP|S_IWOTH)

Definition at line 17 of file mode_t.c.

◆ S_IXUGO

#define S_IXUGO   (S_IXUSR|S_IXGRP|S_IXOTH)

Definition at line 20 of file mode_t.c.

◆ SCA_MODE_T

#define SCA_MODE_T   syscall_arg__scnprintf_mode_t

Definition at line 69 of file mode_t.c.

Function Documentation

◆ syscall_arg__scnprintf_mode_t()

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

Definition at line 23 of file mode_t.c.