Re: [PATCHv2 00/45] perf stat: Add scripting support

From: Jiri Olsa
Date: Wed Sep 30 2015 - 17:36:32 EST


On Wed, Sep 30, 2015 at 09:09:39PM +0000, Liang, Kan wrote:

SNIP

> > instructions:u
> >
> > - To display different aggregation in report:
> >
>
>
> This one doesn't work well with uncore event.
>
> sudo ./perf stat -e uncore_imc_1/cas_count_read/ -a --per-socket record
> -- sleep 5
> Performance counter stats for 'system wide':
>
> S0 1 0.87 MiB uncore_imc_1/cas_count_read/
> S1 1 0.41 MiB uncore_imc_1/cas_count_read/
>
> 5.000910939 seconds time elapsed
>
> sudo ./perf stat report --per-socket
>
> Performance counter stats for '/home/lk/group_read/test/perf/tools/
> perf/perf stat -e uncore_imc_1/cas_count_read/ -a --per-socket record
> -- sleep 5':
>
> S0 36 20,973 uncore_imc_1/cas_count_read/
> S1 28 <not counted> uncore_imc_1/cas_count_read/

hum, looks like there's some issue with unit/scale handling

I'll address that in next version

thanks for fast feedback,
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/