Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1423772
| From | Wang Nan <wangnan0@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] perf bpf: Add helper to support generate BPF object |
| Date | 2016-06-16 10:10 +0200 |
| Message-ID | <rKAxc-5MU-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
These 2 patch introduce a new perfconfig option (llvm.dump-obj) and a new cmdline option (perf record --dry-run). Combined together, perf user is able to generate a BPF object for an embedded platform on a x86 server using perf, instead directly using llvm cmdline and provide -I options and default macros. Wang Nan (2): perf llvm: Allow dump llvm output object file using llvm.dump-obj perf record: Add --dry-run option to check cmdline options tools/perf/Documentation/perf-record.txt | 7 ++++++ tools/perf/builtin-record.c | 7 ++++++ tools/perf/util/llvm-utils.c | 42 ++++++++++++++++++++++++++++++++ tools/perf/util/llvm-utils.h | 5 ++++ 4 files changed, 61 insertions(+) -- 1.8.3.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/2] perf bpf: Add helper to support generate BPF object Wang Nan <wangnan0@huawei.com> - 2016-06-16 10:10 +0200
[PATCH 1/2] perf llvm: Allow dump llvm output object file using llvm.dump-obj Wang Nan <wangnan0@huawei.com> - 2016-06-16 10:10 +0200
[tip:perf/core] perf llvm: Allow dump llvm output object file using llvm.dump-obj tip-bot for Wang Nan <tipbot@zytor.com> - 2016-06-22 09:50 +0200
csiph-web