diff options
author | Ingo Molnar <mingo@kernel.org> | 2012-06-29 15:11:26 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-06-29 15:11:26 +0200 |
commit | add79461a2a7d964a00b4a2fdaf313c4cf9cf4ec (patch) | |
tree | cda1525b5483ad4952ff9d71348693f14d8b26ba /tools/perf/util/parse-events-test.c | |
parent | 357398e96d8c883b010379a7669df43ed0e2e32b (diff) | |
parent | d9873ab79376d5c0112ed09e14783067dc65e808 (diff) | |
download | op-kernel-dev-add79461a2a7d964a00b4a2fdaf313c4cf9cf4ec.zip op-kernel-dev-add79461a2a7d964a00b4a2fdaf313c4cf9cf4ec.tar.gz |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
perf/core improvements and fixes:
* Improve 'perf bench' docs, by Namhyung Kim
* Fix build when O= is not used, from David Ahern
* Fix cross compilation build, from Namhyung Kim
* Fix pipe mode when callchains are used, from David Ahern
* Follow .gnu_debuglink section to find separate symbols, from Pierre-Loup A. Griffais
* Fix 'perf test' raw events entries, from Jiri Olsa
* Use the events description in the perf.data file, not the sysfs ones.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/util/parse-events-test.c')
-rw-r--r-- | tools/perf/util/parse-events-test.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/perf/util/parse-events-test.c b/tools/perf/util/parse-events-test.c index 229af6d..a0f61a2 100644 --- a/tools/perf/util/parse-events-test.c +++ b/tools/perf/util/parse-events-test.c @@ -413,19 +413,20 @@ static int test__checkevent_pmu_name(struct perf_evlist *evlist) { struct perf_evsel *evsel; - /* cpu/config=1,name=krava1/u */ + /* cpu/config=1,name=krava/u */ evsel = list_entry(evlist->entries.next, struct perf_evsel, node); TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->nr_entries); TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->attr.type); TEST_ASSERT_VAL("wrong config", 1 == evsel->attr.config); TEST_ASSERT_VAL("wrong name", !strcmp(perf_evsel__name(evsel), "krava")); - /* cpu/config=2/" */ + /* cpu/config=2/u" */ evsel = list_entry(evsel->node.next, struct perf_evsel, node); TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->nr_entries); TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->attr.type); TEST_ASSERT_VAL("wrong config", 2 == evsel->attr.config); - TEST_ASSERT_VAL("wrong name", !strcmp(perf_evsel__name(evsel), "raw 0x2")); + TEST_ASSERT_VAL("wrong name", + !strcmp(perf_evsel__name(evsel), "raw 0x2:u")); return 0; } |