[PATCH 4/5] perf tools: Allow creation of cgroup without open

2020-09-24 Thread Namhyung Kim
This is a preparation for a test case of expanding events for multiple cgroups. Instead of using real system cgroup, the test will use fake cgroups so it needs a way to have them without a open file descriptor. Signed-off-by: Namhyung Kim --- tools/perf/builtin-stat.c | 2 +- tools/perf/util/c

[PATCH 4/5] perf tools: Allow creation of cgroup without open

2020-09-22 Thread Namhyung Kim
This is a preparation for a test case of expanding events for multiple cgroups. Instead of using real system cgroup, the test will use fake cgroups so it needs a way to have them without a open file descriptor. Signed-off-by: Namhyung Kim --- tools/perf/builtin-stat.c | 2 +- tools/perf/util/c

[PATCH 4/5] perf tools: Allow creation of cgroup without open

2020-09-21 Thread Namhyung Kim
This is a preparation for a test case of expanding events for multiple cgroups. Instead of using real system cgroup, the test will use fake cgroups so it needs a way to have them without a open file descriptor. Signed-off-by: Namhyung Kim --- tools/perf/builtin-stat.c | 2 +- tools/perf/util/c