Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1497641

Re: [PATCH v2 00/18] perf clang: Support compiling BPF script on the fly

From "Wangnan (F)" <wangnan0@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 00/18] perf clang: Support compiling BPF script on the fly
Date 2016-10-08 04:10 +0200
Message-ID <spPfj-LZ-1@gated-at.bofh.it> (permalink)
References <slywp-UK-5@gated-at.bofh.it> <sp3No-l1-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 2016/10/6 7:20, Arnaldo Carvalho de Melo wrote:
> Em Mon, Sep 26, 2016 at 07:26:54AM +0000, Wang Nan escreveu:
>> This patch add builtin clang, allow perf compile BPF scripts on the fly.
>> This is the first step to implement what I announced at LinuxCon 2016 NA:
> Ok, so I refreshed this series to apply against my latest perf/core and
> put it in a tmp.perf/builtin-clang, will continue testing it tomorrow
> after checking if fedora24 has those llvm-dev and libclang-dev that can
> be used with this, do you know if it works on that distro?

Sorry for the late. I only tested on ubuntu.

I can see a llvm-static package for fedora:

https://apps.fedoraproject.org/packages/llvm-static/

but for clang I can find only dynamic libraries:

https://apps.fedoraproject.org/packages/clang-libs/

I think we can make it work by changing 'libclang$(l).a'
to 'libclang$(l).so' in commit 1125e7f6cf29.

Thank you.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 00/18] perf clang: Support compiling BPF script on the fly Wang Nan <wangnan0@huawei.com> - 2016-09-26 09:40 +0200
  Re: [PATCH v2 00/18] perf clang: Support compiling BPF script on the  fly Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-06 01:30 +0200
    Re: [PATCH v2 00/18] perf clang: Support compiling BPF script on the  fly "Wangnan (F)" <wangnan0@huawei.com> - 2016-10-08 04:10 +0200

csiph-web