Re: [RFC][PATCH 3/9] perf: export registerred pmus via sysfs

From: Peter Zijlstra
Date: Mon May 10 2010 - 07:04:59 EST


On Mon, 2010-05-10 at 18:58 +0800, Lin Ming wrote:
> Take Nehalem core and uncore pmu as an example,
>
> core pmu sits under /sys/devices/system/cpu/cpuN/pmu_id with ID 0,
>
> But uncore pmu is shared by cpus within package, where should it sit
> under?

I already gave you the answer to that:

/sys/devices/system/cpu/cpuN/nodeN/

the uncore pmu is the memory controller (aka node) pmu.
--
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/