On Wed, Oct 10, 2012 at 03:34:53PM +0200, Stephane Eranian wrote:
> On Wed, Oct 10, 2012 at 2:53 PM, Jiri Olsa <jo...@redhat.com> wrote:
> > hi,
> > here's the change to make following syntax available:
> >   perf stat -e cpu/event=instructions/u ls
> >   perf stat -e cpu/cycles/u ls
> >
> Unless, I am mistaken but I did not see in your patch where you adjust the 
> list
> of generic Hw events (and encodings) you expose via sysfs based on CPU model
> number. Some generic HW PMU may not have actual physical mappings. Look
> at IvyBridge, for instance.

hm, path 2 remove any attribute that is not defined via x86_pmu.event_map,
if that's what you mean..

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to