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

Go to the source code of this file.

Classes

struct  cgroup
 

Functions

struct cgroupcgroup__get (struct cgroup *cgroup)
 
void cgroup__put (struct cgroup *cgroup)
 
struct cgroupevlist__findnew_cgroup (struct perf_evlist *evlist, const char *name)
 
void evlist__set_default_cgroup (struct perf_evlist *evlist, struct cgroup *cgroup)
 
int parse_cgroups (const struct option *opt, const char *str, int unset)
 

Variables

int nr_cgroups
 

Function Documentation

◆ cgroup__get()

struct cgroup* cgroup__get ( struct cgroup cgroup)

Definition at line 180 of file cgroup.c.

◆ cgroup__put()

void cgroup__put ( struct cgroup cgroup)

Definition at line 173 of file cgroup.c.

Here is the call graph for this function:

◆ evlist__findnew_cgroup()

struct cgroup* evlist__findnew_cgroup ( struct perf_evlist evlist,
const char *  name 
)

Definition at line 133 of file cgroup.c.

Here is the call graph for this function:

◆ evlist__set_default_cgroup()

void evlist__set_default_cgroup ( struct perf_evlist evlist,
struct cgroup cgroup 
)

Definition at line 193 of file cgroup.c.

Here is the call graph for this function:

◆ parse_cgroups()

int parse_cgroups ( const struct option *  opt,
const char *  str,
int  unset 
)

Definition at line 201 of file cgroup.c.

Here is the call graph for this function:

Variable Documentation

◆ nr_cgroups

int nr_cgroups

Definition at line 13 of file cgroup.c.