Messages in this thread |  | | From | Namhyung Kim <> | | Subject | Re: [PATCH 09/11] perf test: Add parse events tests for leader sampling | | Date | Mon, 22 Oct 2012 17:58:22 +0900 |
| |
On Sat, 20 Oct 2012 16:33:17 +0200, Jiri Olsa wrote: > Adding 2 more tests to the automated parse events suite > for following event config: > > '{cycles,cache-misses,branch-misses}:S' > '{instructions,branch-misses}:Su' [snip] > +static int test__leader_sample2(struct perf_evlist *evlist __maybe_unused) > +{ > + struct perf_evsel *evsel, *leader; > + > + TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->nr_entries); > + > + /* cycles - sampling group leader */
s/cycles/instructions/ ?
Thanks, Namhyung
> + [34] = { > + .name = "{instructions,branch-misses}:Su", > + .check = test__leader_sample2, > + }, > }; > > static struct test__event_st test__events_pmu[] = {
|  |