From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754683AbcAVRfr (ORCPT ); Fri, 22 Jan 2016 12:35:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55264 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754590AbcAVRfp (ORCPT ); Fri, 22 Jan 2016 12:35:45 -0500 Message-ID: <1453484142.2587.7.camel@redhat.com> Subject: Re: clang --target=bpf missing on f23 was: Re: [PATCH 1/2] perf test: Add libbpf relocation checker From: Adam Jackson To: Arnaldo Carvalho de Melo , Alexei Starovoitov Cc: Wang Nan , ast@kernel.org, linux-kernel@vger.kernel.org, Daniel Borkmann , Li Zefan , pi3orama@163.com, Dave Airlie Date: Fri, 22 Jan 2016 12:35:42 -0500 In-Reply-To: <20160122172222.GI4034@kernel.org> References: <1453454841-232334-1-git-send-email-wangnan0@huawei.com> <1453454841-232334-2-git-send-email-wangnan0@huawei.com> <20160122154050.GH4034@kernel.org> <20160122170749.GA9608@ast-mbp.thefacebook.com> <20160122172222.GI4034@kernel.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2016-01-22 at 14:22 -0300, Arnaldo Carvalho de Melo wrote: > the 'bpf' target for clang is being used together with perf to > build scriptlets into object code that then gets uploaded to the kernel > via sys_bpf(), was the decision not to include 'bpf' just an accident? I wouldn't call it a "decision", that would imply intent. The main reason I explicitly list targets for llvm is to limit the CPU backends to arches Fedora actually runs on (which itself is because I really only care about llvmpipe, and am only touching llvm because it's in my way). Had no idea there was a bpf backend, so never thought to enable it. llvm-3.7.0-4.fc2{3,4} are building now with the bpf backend enabled, I'll create an update for F23 when it's built. - ajax