Re: [RFC PATCH 0/5] perf: Intel uncore pmu counting support

From: Ingo Molnar
Date: Wed Mar 28 2012 - 02:49:31 EST



* Yan, Zheng <zheng.z.yan@xxxxxxxxx> wrote:

> Hi, all
>
> Here is the RFC patches to add uncore counting support for Nehalem,
> Sandy Bridge and Sandy Bridge-EP, applied on top of current tip.
> The code is based on Lin Ming's old patches.
>
> You can use 'perf stat' to access to the uncore pmu. For example:
> perf stat -a -C 0 -e 'uncore_nhm/config=0xffff/' sleep 1

My main complaint is that that's not user friendly *AT ALL*.

You need to make this useful to mere mortals: go through the
SDM, categorize interesting looking events, look at how it can
be expressed via tooling, add a generic event where appropriate,
provide examples, actually *USE* it to improve the kernel or an
app and see the workflow as it happens and improve the tooling,
etc.

Thanks,

Ingo
--
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/