#ifndef __CGROUP_HELPERS_H #define __CGROUP_HELPERS_H #include #include #define clean_errno() (errno == 0 ? "None" : strerror(errno)) #define log_err(MSG, ...) fprintf(stderr, "(%s:%d: errno: %s) " MSG "\n", \ __FILE__, __LINE__, clean_errno(), ##__VA_ARGS__) int create_and_get_cgroup(char *path); int join_cgroup(char *path); int setup_cgroup_environment(void); void cleanup_cgroup_environment(void); #endif 'vcs-git' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
bddd626a4dfe7e5aa5673a61c4'>dt-bindings/clock/hi3516cv300-clock.h
AgeCommit message (Expand)AuthorFilesLines
AgeCommit message (Expand)AuthorFilesLines