summaryrefslogtreecommitdiffstats
path: root/package/libpfm4
AgeCommit message (Collapse)Author
2014-09-18libpfm4: needs NPTL supportAlexey Brodkin
Fixes following build failure: --->--- self_smpl_multi.c: In function 'my_thread': self_smpl_multi.c:354:2: error: implicit declaration of function 'pthread_barrier_wait' [-Werror=implicit-function-declaration] pthread_barrier_wait(&barrier); ^ self_smpl_multi.c: In function 'main': self_smpl_multi.c:450:2: error: implicit declaration of function 'pthread_barrier_init' [-Werror=implicit-function-declaration] pthread_barrier_init(&barrier, 0, max_thr+1); ^ cc1: all warnings being treated as errors --->--- And since xtensa, avr32 and bfin don't support NPTL we may remove arch dependencies as well. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-05libpfm4: disable when pthreads barrier support in missingBaruch Siach
The old linuxthreads pthreads implementation does not support barriers. Disable libpfm4 for arches that don't have either NPTL or new linuxthreads pthreads implementation. Fixes http://autobuild.buildroot.net/results/ea5/ea594807b891cbe1f0eddad7f89d34af160636c4/. Also, add missing comment arches dependency. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-04libpfm4: needs thread supportThomas Petazzoni
Fixes: http://autobuild.buildroot.net/results/73d736dd3c8a70358ef4b19a63dda46178cf8bf1/ Note that the propagation of the thread dependency to the oprofile package is a little bit non standard, because oprofile selects libpfm4 only on the PowerPC architecture. So we ensure the thread dependency is only enforced on PowerPC, and a separate comment is displayed when thread support is not available, but the PowerPC architecture is used. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-29libpfm4: disable on avr32Simon Dawson
The perf_event_open syscall is not available on avr32. Fixes build failures such as the following. http://autobuild.buildroot.net/results/38f/38fa81315be448c409b9af29f92621fcf5676f71/ Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-06-06Normalize separator size to 80Alexandre Belloni
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-18libpfm4: new packageThomas De Schampheleire
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>