Linux Perf
namespaces.h File Reference
#include <sys/types.h>
#include <linux/perf_event.h>
#include <linux/refcount.h>
#include <linux/types.h>
Include dependency graph for namespaces.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  namespaces
 
struct  nsinfo
 
struct  nscookie
 

Macros

#define nsinfo__zput(nsi)   __nsinfo__zput(&nsi)
 

Functions

struct namespacesnamespaces__new (struct namespaces_event *event)
 
void namespaces__free (struct namespaces *namespaces)
 
int nsinfo__init (struct nsinfo *nsi)
 
struct nsinfonsinfo__new (pid_t pid)
 
struct nsinfonsinfo__copy (struct nsinfo *nsi)
 
void nsinfo__delete (struct nsinfo *nsi)
 
struct nsinfonsinfo__get (struct nsinfo *nsi)
 
void nsinfo__put (struct nsinfo *nsi)
 
void nsinfo__mountns_enter (struct nsinfo *nsi, struct nscookie *nc)
 
void nsinfo__mountns_exit (struct nscookie *nc)
 
char * nsinfo__realpath (const char *path, struct nsinfo *nsi)
 
static void __nsinfo__zput (struct nsinfo **nsip)
 

Macro Definition Documentation

◆ nsinfo__zput

#define nsinfo__zput (   nsi)    __nsinfo__zput(&nsi)

Definition at line 63 of file namespaces.h.

Function Documentation

◆ __nsinfo__zput()

static void __nsinfo__zput ( struct nsinfo **  nsip)
inlinestatic

Definition at line 55 of file namespaces.h.

Here is the call graph for this function:

◆ namespaces__free()

void namespaces__free ( struct namespaces namespaces)

Definition at line 40 of file namespaces.c.

Here is the call graph for this function:

◆ namespaces__new()

struct namespaces* namespaces__new ( struct namespaces_event event)

Definition at line 22 of file namespaces.c.

Here is the call graph for this function:

◆ nsinfo__copy()

struct nsinfo* nsinfo__copy ( struct nsinfo nsi)

Definition at line 138 of file namespaces.c.

Here is the call graph for this function:

◆ nsinfo__delete()

void nsinfo__delete ( struct nsinfo nsi)

Definition at line 161 of file namespaces.c.

Here is the call graph for this function:

◆ nsinfo__get()

struct nsinfo* nsinfo__get ( struct nsinfo nsi)

Definition at line 167 of file namespaces.c.

◆ nsinfo__init()

int nsinfo__init ( struct nsinfo nsi)

Definition at line 45 of file namespaces.c.

Here is the call graph for this function:

◆ nsinfo__mountns_enter()

void nsinfo__mountns_enter ( struct nsinfo nsi,
struct nscookie nc 
)

Definition at line 180 of file namespaces.c.

Here is the call graph for this function:

◆ nsinfo__mountns_exit()

void nsinfo__mountns_exit ( struct nscookie nc)

Definition at line 221 of file namespaces.c.

Here is the call graph for this function:

◆ nsinfo__new()

struct nsinfo* nsinfo__new ( pid_t  pid)

Definition at line 112 of file namespaces.c.

Here is the call graph for this function:

◆ nsinfo__put()

void nsinfo__put ( struct nsinfo nsi)

Definition at line 174 of file namespaces.c.

Here is the call graph for this function:

◆ nsinfo__realpath()

char* nsinfo__realpath ( const char *  path,
struct nsinfo nsi 
)

Definition at line 239 of file namespaces.c.

Here is the call graph for this function: