lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 09 Jun 2015 17:02:38 -0700
From:	Alexei Starovoitov <>
To:	Wang Nan <>,,,,,,,,,,
Subject: Re: [RFC PATCH v6 32/32] perf record: Add LLVM options for compiling
 BPF scripts

On 6/8/15 10:50 PM, Wang Nan wrote:
> Although previous patch allows setting BPF compiler related options in
> perfconfig, on some ad-hoc situation it still requires passing options
> through cmdline. This patch introduces 4 options to 'perf record' for
> this propose: --clang-path, --clang-opt, --llc-path and --llc-opt.

looks good. I hope only --clang will be used from time to time.
Today, indeed, --llc* are needed too.

btw, our experimental (which is clang and llvm libs
compiled into single .so with C api for compiling .c into bpf):
$ ls -lh
-rw-r--r-- 1 ast ast 31M Jun  9 16:49

not tiny, but I think we should be able to include it into perf,
then perf will only have build dependencies on llvm instead of
run-time dependencies.
We'll release this lib as soon as it's a bit more stable.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists