Re: [PATCH 4/4] perf test: Add expand cgroup event test

2020-09-20 Thread Namhyung Kim
On Fri, Sep 18, 2020 at 10:52 PM Jiri Olsa wrote: > > On Wed, Sep 16, 2020 at 03:31:29PM +0900, Namhyung Kim wrote: > > SNIP > > > +++ b/tools/perf/tests/tests.h > > @@ -123,6 +123,7 @@ const char *test__pfm_subtest_get_desc(int subtest); > > int test__pfm_subtest_get_nr(void); > > int

Re: [PATCH 4/4] perf test: Add expand cgroup event test

2020-09-18 Thread Jiri Olsa
On Wed, Sep 16, 2020 at 03:31:29PM +0900, Namhyung Kim wrote: SNIP > +++ b/tools/perf/tests/tests.h > @@ -123,6 +123,7 @@ const char *test__pfm_subtest_get_desc(int subtest); > int test__pfm_subtest_get_nr(void); > int test__parse_metric(struct test *test, int subtest); > int

[PATCH 4/4] perf test: Add expand cgroup event test

2020-09-16 Thread Namhyung Kim
It'll expand given events for cgroups A, B and C. $ ./perf test -v expansion 69: Event expansion for cgroups : --- start --- test child forked, pid 983140 metric expr 1 / IPC for CPI metric expr instructions / cycles for IPC found event instructions found