lkml.org 
[lkml]   [2012]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 09/11] perf test: Add parse events tests for leader sampling
Date
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[] = {


\
 
 \ /
  Last update: 2012-10-22 11:41    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog