Re: [RFC] perf: fix building for ARCv1

2016-10-18 Thread Vineet Gupta
On 10/19/2015 02:35 AM, Peter Zijlstra wrote: > On Mon, Oct 19, 2015 at 09:28:43AM +, Vineet Gupta wrote: >> On Monday 19 October 2015 11:20 AM, Andi Kleen wrote: >>> Vineet Gupta writes: But this user space - so IMHO UP/SMP doesn't matter and we can't simulate them in C just b

Re: [RFC] perf: fix building for ARCv1

2016-02-09 Thread Vineet Gupta
On Friday 05 February 2016 09:40 PM, a...@redhat.com wrote: > Em Fri, Feb 05, 2016 at 11:18:52AM +, Noam Camus escreveu: >> Well here for EZchip I also see the: >> undefined reference to `__sync_add_and_fetch_4' >> undefined reference to `__sync_sub_and_fetch_4' > > Yeah, because there is no:

Re: [RFC] perf: fix building for ARCv1

2016-02-05 Thread a...@redhat.com
Em Fri, Feb 05, 2016 at 11:18:52AM +, Noam Camus escreveu: > Well here for EZchip I also see the: > undefined reference to `__sync_add_and_fetch_4' > undefined reference to `__sync_sub_and_fetch_4' Yeah, because there is no: tools/arch/arc/include/asm/atomic.h, can't you guys adapt arch/arc/in

Re: [RFC] perf: fix building for ARCv1

2016-02-05 Thread Noam Camus
>From: Vineet Gupta >Sent: Thursday, February 4, 2016 6:13 AM >Noam, what's the atomic story for EZChip. Do you support such things for user space in GNU tools. If -atomic is added to perf user space builds are you guys OK! Well here for EZchip I also s

Re: [RFC] perf: fix building for ARCv1

2016-02-03 Thread Vineet Gupta
+CC Noam On Wednesday 03 February 2016 09:50 PM, Alexey Brodkin wrote: >> I agree with the current solution to add -atomic to for arc700 builds. >> > Although making that default for arc700 tools will be better but that will >> > not fix >> > things before next release of tools etc. >> > >> > Bu

Re: [RFC] perf: fix building for ARCv1

2016-02-03 Thread Alexey Brodkin
Hi Vineet, On Fri, 2015-10-30 at 06:19 +, Vineet Gupta wrote: > On Thursday 29 October 2015 09:28 PM, Alexey Brodkin wrote: > > Hi Vineet, > > > > On Tue, 2015-10-20 at 10:45 +, Vineet Gupta wrote: > > > On Tuesday 20 October 2015 03:41 PM, Peter Zijlstra wrote: > > > > > > Can we use exi