Re: [PATCH 2/4] perf, tools: Fix metrics calculation with event qualifiers

2015-03-09 Thread Jiri Olsa
On Sun, Mar 08, 2015 at 04:55:22PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Currently in perf IPC and other metrics cannot be directly shown > separately for both user and kernel in a single run. The problem was > that the metrics matching code did not check event qualifiers. > > With thi

[PATCH 2/4] perf, tools: Fix metrics calculation with event qualifiers

2015-03-08 Thread Andi Kleen
From: Andi Kleen Currently in perf IPC and other metrics cannot be directly shown separately for both user and kernel in a single run. The problem was that the metrics matching code did not check event qualifiers. With this patch the following case works correctly. % perf stat -e cycles:k,cycle