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

From: Ingo Molnar
Date: Fri Aug 24 2012 - 04:35:48 EST



* 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.

and the compat changes don't look overly large, so I guess we
could do something like this.

Would be nice to make it more robust in case Bionic does add
these functions? Feature tests and such? perf offering weak
symbols for some of these methods and the linker sorting it out?

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/