[lkml]   [2016]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/2] perf bpf: Add helper to support generate BPF object
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(+)


 \ /
  Last update: 2016-06-16 10:21    [W:0.121 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site