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[] = { -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/