#include "util.h"
#include "../perf.h"
#include <subcmd/parse-options.h>
#include "evsel.h"
#include "cgroup.h"
#include "evlist.h"
#include <linux/stringify.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
Go to the source code of this file.
◆ add_cgroup()
static int add_cgroup |
( |
struct perf_evlist * |
evlist, |
|
|
const char * |
str |
|
) |
| |
|
static |
◆ cgroup__delete()
static void cgroup__delete |
( |
struct cgroup * |
cgroup | ) |
|
|
static |
◆ cgroup__get()
◆ cgroup__new()
static struct cgroup* cgroup__new |
( |
const char * |
name | ) |
|
|
static |
◆ cgroup__put()
void cgroup__put |
( |
struct cgroup * |
cgrp | ) |
|
◆ cgroupfs_find_mountpoint()
static int cgroupfs_find_mountpoint |
( |
char * |
buf, |
|
|
size_t |
maxlen |
|
) |
| |
|
static |
◆ evlist__find_cgroup()
static struct cgroup* evlist__find_cgroup |
( |
struct perf_evlist * |
evlist, |
|
|
const char * |
str |
|
) |
| |
|
static |
◆ evlist__findnew_cgroup()
struct cgroup* evlist__findnew_cgroup |
( |
struct perf_evlist * |
evlist, |
|
|
const char * |
name |
|
) |
| |
◆ evlist__set_default_cgroup()
void evlist__set_default_cgroup |
( |
struct perf_evlist * |
evlist, |
|
|
struct cgroup * |
cgroup |
|
) |
| |
◆ evsel__set_default_cgroup()
static void evsel__set_default_cgroup |
( |
struct perf_evsel * |
evsel, |
|
|
struct cgroup * |
cgroup |
|
) |
| |
|
static |
◆ open_cgroup()
static int open_cgroup |
( |
const char * |
name | ) |
|
|
static |
◆ parse_cgroups()
int parse_cgroups |
( |
const struct option * |
opt, |
|
|
const char * |
str, |
|
|
int unset |
__maybe_unused |
|
) |
| |
◆ nr_cgroups