lkml.org 
[lkml]   [2014]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 8/8] perf, tools, test: Add test case for alias and JSON parsing
On Wed, Mar 05, 2014 at 11:49:38AM -0800, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> Add a simple test case to perf test that runs perf download and parses
> all the events. This needs adding an all event iterator to pmu.c

[jolsa@krava perf]$ ./perf test -vvv 25
25: Test parsing JSON aliases :
--- start ---
invalid or unsupported event: 'energy-gpu'
Parsed 522 events: ---- end ----
Test parsing JSON aliases: FAILED!

I think the problem is in parse_events_fixup, which assumes
the 'cpu' pmu globaly for all events

jirka


\
 
 \ /
  Last update: 2014-03-11 16:21    [W:0.222 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site