Re: [PATCH v2 6/6] perf tool: Parse general/raw events from sysfs

From: Peter Zijlstra
Date: Mon Aug 08 2011 - 04:48:49 EST


On Mon, 2011-08-08 at 09:08 +0800, Lin Ming wrote:
>
> We only need to register one pmu with two same graphics cards.
> Then we can overload pid argument of sys_perf_event_open() to
> differentiate each instance of graphic card.
>
> Just like perf cgroup does.

I don't like that much at all.. For one it will make it impossible to
put the pmu device in the right sysfs topology.
--
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/