Skip to content

Commit b556e21

Browse files
committed
Rex: remove kprobe entry generation from LLVM
Signed-off-by: Jinghao Jia <[email protected]>
1 parent 81f7a60 commit b556e21

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
REX_PROG_TYPE_2(BPF_PROG_TYPE_KPROBE, kprobe, "kprobe", "uprobe")
21
REX_PROG_TYPE_1(BPF_PROG_TYPE_PERF_EVENT, perf_event, "perf_event")
32
REX_PROG_TYPE_1(BPF_PROG_TYPE_XDP, xdp, "xdp")
43
REX_PROG_TYPE_2(BPF_PROG_TYPE_SCHED_CLS, sched_cls, "classifier", "tc")

llvm/lib/Transforms/Rex/RexInsertEntry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ bool RexEntryInsertion::runOnModule(Module &M) const {
166166

167167
LLVMContext &Context = M.getContext();
168168

169-
// FIXME: Temporary code to handle tracepoint programs
169+
// FIXME: Temporary code to handle programs migrated to proc-macros
170170
for (Function &F: M.functions()) {
171171
if (F.hasSection() && F.getSection().starts_with("rex")) {
172172
F.setSection(F.getSection().substr(4));

0 commit comments

Comments
 (0)