LWN.net Logo

perf pmu interface -v2

From:  Peter Zijlstra <a.p.zijlstra@chello.nl>
To:  paulus <paulus@samba.org>, stephane eranian <eranian@googlemail.com>, Robert Richter <robert.richter@amd.com>, Will Deacon <will.deacon@arm.com>, Paul Mundt <lethal@linux-sh.org>, Frederic Weisbecker <fweisbec@gmail.com>, Cyrill Gorcunov <gorcunov@gmail.com>, Lin Ming <ming.m.lin@intel.com>, Yanmin <yanmin_zhang@linux.intel.com>, Deng-Cheng Zhu <dengcheng.zhu@gmail.com>, David Miller <davem@davemloft.net>
Subject:  [RFC][PATCH 00/11] perf pmu interface -v2
Date:  Thu, 24 Jun 2010 16:28:04 +0200
Message-ID:  <20100624142804.431553874@chello.nl>
Cc:  linux-kernel@vger.kernel.org, Peter Zijlstra <a.p.zijlstra@chello.nl>
Archive-link:  Article, Thread

These patches prepare the perf code for multiple pmus (no user
interface yet, Lin Ming is working on that). These patches remove all
weak functions and rework the struct pmu interface.

The patches are boot tested on x86_64 and compile tested on: powerpc
(!fsl, what config is that?), sparc and arm (sorry no SH compiler)

On x86 perf stat and record with both software and hardware events still worked.

I changed all (hardware) pmu implementations so there's a fair chance I messed
something up, please have a look at it.

If people agree with this, I'll continue with the per-pmu context stuff I
talked about last time, which should get us the hardware write batching back.

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

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds