#ifndef __CGROUP_H__ #define __CGROUP_H__ #include 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__ */ linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-02-03trace: rename trace_print_hex_seq arg and add kdocDaniel Borkmann1-2/+2
Steven suggested to improve trace_print_hex_seq() a bit after commit 2acae0d5b0f7 ("trace: add variant without spacing in trace_print_hex_seq") in two ways: i) by adding a kdoc comment for the helper function itself and ii) by renaming 'spacing' argument into 'concatenate' to better denote that we don't add spaces between each hex bytes. Suggested-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>