perf cgroup: Introduce cgroup__new() out of open coded equivalent
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 6 Mar 2018 13:33:04 +0000 (10:33 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 7 Mar 2018 13:22:25 +0000 (10:22 -0300)
commit923a0fb332f8ee49b063df07129b2686f78ec9c3
tree00dfcf352073b5628bacfb9945755ad3cf061edb
parentb80271f76ac5fe498f8fb701b2745dcd841627cc
perf cgroup: Introduce cgroup__new() out of open coded equivalent

To follow the namespacing convention in tools/perf.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-jaalyl6bkvvji4r5u8wqw4n4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/cgroup.c