public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* perf: more ABI breakage
@ 2013-07-08 15:24 Vince Weaver
  2013-07-08 16:47 ` Peter Zijlstra
  0 siblings, 1 reply; 3+ messages in thread
From: Vince Weaver @ 2013-07-08 15:24 UTC (permalink / raw)
  To: linux-kernel
  Cc: Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo


I guess I should have been noisier about this at the time.

Linux 3.9 came with commit
   e259514eef764a5286873618e34c560ecb6cff13
that enabled AMD fam15h Northbridge support, by exposing the events as 
part of the core CPU.

Then Linux 3.10 changed this with
   c43ca5091a374c1f6778bd7e4a39a5a10735a917
and split them out as a separate PMU.

This of course breaks libpfm4 and thus PAPI, and so now that 3.10 has come 
out we've had multiple people complaining about this on the PAPI lists (I 
can never get them to come complain here, which is why I always look like 
the lone whiner in these cases).

So can perf_event just break the ABI with impunity?

How many kernel releases do we need to wait before we implement features?

There's not really even a good backwards-compatible fix for this issue, as 
PAPI presents core-CPU events and uncore-CPU events through different 
interfaces.

Vince

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-08 19:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-08 15:24 perf: more ABI breakage Vince Weaver
2013-07-08 16:47 ` Peter Zijlstra
2013-07-08 19:08   ` Vince Weaver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox