On Thu, Sep 30, 2010 at 05:09:16PM +0800, Deng-Cheng Zhu wrote: > Moving performance counter/control defines into a single header file, so > that software using the MIPS PMU can share the code. Matt Fleming has patches pending that reimplement oprofile as a layer based on top of perf. All things considered I'd be happier if you just copied whatever perf needs from oprofile rather than sharing it. Ralf