On Thu, Aug 30, 2012 at 8:19 PM, Namhyung Kim <namhy...@gmail.com> wrote: > Irina Tirdea <irina.tir...@gmail.com> writes: > >> Hi, >> >> This is a set of patches to port perf to Android. >> My approach is to include missing functions in Android (like getline, >> getsid, etc). I am currently working on upstreaming these to Google. >> With the missing functionality added to bionic, this compiles on latest >> Android tree (JellyBean). This will make perf compile, but there are still >> fixes needed at runtime which I am currently working on. > > Yeah, I guess the callchain part which uses TLS is the one of them. Do > you have an idea how to deal with it?
Yes, TLS defined through __thread is not supported by bionic. I was thinking of using pthread_getspecific/pthread_setspecific API instead. Thanks, Irina -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/