summaryrefslogtreecommitdiff
path: root/tools/perf/util/cgroup.h
blob: 31f8dcdbd7efefac48353b90715c027cf2c13386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __CGROUP_H__
#define __CGROUP_H__

#include <linux/atomic.h>

struct option;

struct cgroup_sel {
	char *name;
	int fd;
	atomic_t refcnt;
};


extern int nr_cgroups; /* number of explicit cgroups defined */
void close_cgroup(struct cgroup_sel *cgrp);
int parse_cgroups(const struct option *opt, const char *str, int unset);

#endif /* __CGROUP_H__ */
d class='mode'>-rw-r--r--include/linux/skbuff.h12
-rw-r--r--include/net/arp.h16
-rw-r--r--include/net/dst.h21
-rw-r--r--include/net/dst_ops.h2
-rw-r--r--include/net/ndisc.h17
-rw-r--r--include/net/sctp/sctp.h6
-rw-r--r--include/net/sctp/structs.h4
-rw-r--r--include/net/sock.h26
-rw-r--r--net/core/dst.c1
-rw-r--r--net/core/sock.c2
-rw-r--r--net/ipv4/ip_output.c11
-rw-r--r--net/ipv4/ping.c3
-rw-r--r--net/ipv4/raw.c6
-rw-r--r--net/ipv4/route.c19
-rw-r--r--net/ipv4/tcp_input.c12
-rw-r--r--net/ipv4/tcp_metrics.c7
-rw-r--r--net/ipv4/tcp_output.c2
-rw-r--r--net/ipv4/udp.c3
-rw-r--r--net/ipv6/ip6_output.c7
-rw-r--r--net/ipv6/raw.c6
-rw-r--r--net/ipv6/route.c43
-rw-r--r--net/ipv6/udp.c3
-rw-r--r--net/l2tp/l2tp_ip6.c3
-rw-r--r--net/sctp/associola.c3
-rw-r--r--net/sctp/output.c10
-rw-r--r--net/sctp/outqueue.c2
-rw-r--r--net/sctp/sm_make_chunk.c6
-rw-r--r--net/sctp/sm_sideeffect.c2
-rw-r--r--net/sctp/socket.c4
-rw-r--r--net/sctp/transport.c16
-rw-r--r--net/xfrm/xfrm_policy.c19
32 files changed, 235 insertions, 64 deletions
diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c