Re: [PATCHv2 1/1] perf: Port to Android

From: Ingo Molnar
Date: Fri Aug 24 2012 - 14:02:03 EST



* Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:

> On Fri, 24 Aug 2012 05:08:45 +0100
> Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:
>
> > On Thu, Aug 23, 2012 at 03:32:50PM -0600, David Ahern wrote:
> >
> > > Why not add support for the missing functions (on_exit, getsid,
> > > psignal and getline) to Bionic instead of perf?
> >
> > Many vendors need to target existing Android platforms and
> > don't have the luxury of waiting for code to get through
> > Google review and then land on devices between 6 months in
> > the future and never. The embedded world is dysfunctional in
> > a whole bunch of ways.
>
> So add a small library and link with -lstuffandroidforgot.
> That's basically how the FSF dealt with all the proprietary
> Unix library messes.
>
> Come to think of it call the library "integrated build runtime
> environment" and you can like with -libre ;)
>
> It's also going to be far more maintainable and generically
> useful for porting tools from GNU to 'droid userspace.

Well, you should see the uglies Git has to support Windows ;-)

Anyway, I'm not against making perf work on Android in
principle, it is Obviously Useful (tm).

Thanks,

Ingo
--
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/