[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101019145109.GA4857@elte.hu>
Date: Tue, 19 Oct 2010 16:51:09 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Arjan van de Ven <arjan@...ux.intel.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Thomas Renninger <trenn@...e.de>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Tejun Heo <tj@...nel.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Pierre Tardy <tardyp@...il.com>,
Jean Pihet <jean.pihet@...oldbits.com>,
linux-trace-users@...r.kernel.org,
linux-pm@...ts.linux-foundation.org, rjw@...k.pl,
linux-omap@...r.kernel.org,
Kevin Hilman <khilman@...prootsystems.com>,
Steven Rostedt <rostedt@...dmis.org>,
Frank Eigler <fche@...hat.com>,
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
Thomas Gleixner <tglx@...utronix.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: PATCH [0/4] perf: clean-up of power events API
* Arjan van de Ven <arjan@...ux.intel.com> wrote:
> >> for some time software needs to support both, especially if popular distros
> >> stick to an older kernel like *cough* RHEL6
> >
> > Sure, you can support both. But as long as support for the _new_ events is
> > included in PowerTop there's no need to keep the duality upstream. Running
> > ancient PowerTop on fresh kernels is not common.
> >
> > An old RHEL kernel will still keep on working as you can keep support for old
> > events in PowerTop as long as you wish to.
> >
> > The new kernel also wont 'overwrite' old events with new definitions in the
> > future, so PowerTop will keep working for as long as you want to support older
> > kernels.
> >
> > Does that sound good?
>
> this does not scale much long term, eg this only works if this is only done once,
> and these points are stable afterwards. otherwise we get 25 of those different
> "workarounds for kernel ABI breakage" into all different projects, and it becomes
> untestable for all the poor software writers...
I have no intention for this to become common. For the 2+ years tracepoints have
been upstream this is the first time it has come up. It's a rare occurance, and as
long as we keep it rare and as long as we have a smooth transition process in place
it should be good. If it becomes common we are doing something wrong ...
Alternatively you might want to review the new power events and suggest ways to add
that extra information to existing events that suits your purposes as well. You
added the old power tracepoints so you sure must have an opinion about it all?
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists