Re: [PATCH 09/11] perf test: Add parse events tests for leadersampling

From: Jiri Olsa
Date: Mon Oct 22 2012 - 05:12:56 EST


On Mon, Oct 22, 2012 at 05:58:22PM +0900, Namhyung Kim wrote:
> 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/ ?

right

thanks,
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/