Messages in this thread | | | Subject | Re: [PATCH 1/2] cgroup map files: Add cgroup map data type | Date | Fri, 22 Feb 2008 12:51:58 +0900 (JST) | From | (YAMAMOTO Takashi) |
| |
> The map type is printed in a similar format to /proc/meminfo or > /proc/<pid>/status, i.e. "$key: $value\n"
this description doesn't seem to match with the code.
YAMAMOTO Takashi
> +static int cgroup_map_add(struct cgroup_map_cb *cb, const char *key, u64 value) > +{ > + struct seq_file *sf = cb->state; > + return seq_printf(sf, "%s %llu\n", key, value); > +}
| |