Linux Perf
clone.c File Reference
#include "trace/beauty/beauty.h"
#include <linux/kernel.h>
#include <sys/types.h>
#include <uapi/linux/sched.h>
Include dependency graph for clone.c:

Go to the source code of this file.

Macros

#define P_FLAG(n)
 

Functions

static size_t clone__scnprintf_flags (unsigned long flags, char *bf, size_t size)
 
size_t syscall_arg__scnprintf_clone_flags (char *bf, size_t size, struct syscall_arg *arg)
 

Macro Definition Documentation

◆ P_FLAG

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

Function Documentation

◆ clone__scnprintf_flags()

static size_t clone__scnprintf_flags ( unsigned long  flags,
char *  bf,
size_t  size 
)
static

Definition at line 14 of file clone.c.

◆ syscall_arg__scnprintf_clone_flags()

size_t syscall_arg__scnprintf_clone_flags ( char *  bf,
size_t  size,
struct syscall_arg arg 
)

Definition at line 55 of file clone.c.

Here is the call graph for this function: