From de746e82320ebed3f7b02820728fa6eb035bc313 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 24 Jan 2019 14:39:12 +0100 Subject: sys/linux: update TODO comments Change TODO comments that refer to missing description language features to NEED comments as that it's easier to grep for them. Remove some outdated comments. Fix 2 easy fixable TODOs. --- sys/linux/bpf.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/linux/bpf.txt') diff --git a/sys/linux/bpf.txt b/sys/linux/bpf.txt index 21dd512c7..cffaa4619 100644 --- a/sys/linux/bpf.txt +++ b/sys/linux/bpf.txt @@ -263,7 +263,7 @@ bpf_reg = BPF_REG_0, BPF_REG_1, BPF_REG_2, BPF_REG_3, BPF_REG_4, BPF_REG_5, BPF_ define MAX_BPF_REG __MAX_BPF_REG -# TODO: these filenames must be on bpf filesystem +# NEED: these filenames must be on bpf filesystem, can we do it somehow? bpf_obj_pin_map { path ptr64[in, filename] fd fd_bpf_map @@ -390,7 +390,7 @@ btf_header { type_off const[0, int32] type_len bytesize[types, int32] str_off bytesize[parent, int32] -# TODO: should be bytesize[bpf_btf_program.strings] +# NEED: should be bytesize[bpf_btf_program.strings] str_len int32 types bpf_btf_types } @@ -407,7 +407,7 @@ bpf_btf_strings { } [packed] bpf_task_fd_query { -# TODO: part of fields are input here and part are output. We can't express this yet (#245). +# NEED: part of fields are input here and part are output. We can't express this yet (#245). pid pid fd fd_perf_base flags const[0, int32] -- cgit mrf-deployment