Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1216607
| From | "Wangnan (F)" <wangnan0@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 17/31] perf tests: Enforce LLVM test for BPF test |
| Date | 2015-09-01 08:00 +0200 |
| Message-ID | <q3MLT-63J-7@gated-at.bofh.it> (permalink) |
| References | <q2FWa-7Rj-5@gated-at.bofh.it> <q2FWa-7Rj-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2015/8/29 12:21, Wang Nan wrote: > diff --git a/tools/perf/tests/Build b/tools/perf/tests/Build > index c1518bd..8c98409 100644 > --- a/tools/perf/tests/Build > +++ b/tools/perf/tests/Build > @@ -32,7 +32,14 @@ perf-y += sample-parsing.o > perf-y += parse-no-sample-id-all.o > perf-y += kmod-path.o > perf-y += thread-map.o > -perf-y += llvm.o > +perf-y += llvm.o llvm-src.o > + > +$(OUTPUT)tests/llvm-src.c: tests/bpf-script-example.c This rule requires a $(call rule_mkdir). Will be fixed in next pull request. > + $(Q)echo '#include <tests/llvm.h>' > $@ > + $(Q)echo 'const char test_llvm__bpf_prog[] =' >> $@ > + $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@ > + $(Q)echo ';' >> $@ > + > > perf-$(CONFIG_X86) += perf-time-to-tsc.o > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 17/31] perf tests: Enforce LLVM test for BPF test Wang Nan <wangnan0@huawei.com> - 2015-08-29 06:30 +0200 Re: [PATCH 17/31] perf tests: Enforce LLVM test for BPF test "Wangnan (F)" <wangnan0@huawei.com> - 2015-09-01 08:00 +0200
csiph-web