Linux Perf
namespaces.c File Reference
#include "namespaces.h"
#include "util.h"
#include "event.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <limits.h>
#include <sched.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
Include dependency graph for namespaces.c:

Go to the source code of this file.

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)
 

Function Documentation

◆ 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: