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

From: Alan Cox
Date: Fri Aug 24 2012 - 08:26:15 EST


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.

Alan

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