aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/bpf.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-01-24 14:39:12 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-01-24 16:49:38 +0100
commitde746e82320ebed3f7b02820728fa6eb035bc313 (patch)
treedc190197e7d1cf0be3f5f18b98181db502c6323f /sys/linux/bpf.txt
parent44e061b86c622251bca6adb5358800a3827930b3 (diff)
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.
Diffstat (limited to 'sys/linux/bpf.txt')
-rw-r--r--sys/linux/bpf.txt6
1 files changed, 3 insertions, 3 deletions
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]