aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorPaul Chaignon <paul.chaignon@gmail.com>2023-11-27 16:27:08 +0100
committerAleksandr Nogikh <nogikh@google.com>2023-11-27 17:13:18 +0000
commit2fae018f887235bab9f683c782e2e9a93c8d3766 (patch)
treef6106ec038f59252983ebe840af783107133ff2b /sys/linux
parent7ec6c0443c90a3b37b815249619172c60d3ef557 (diff)
sys/linux: fix comments for bpf_trace_printk helper
The comments for the two strings in bpf_insn_mov_printk_str_hex are inverted. "%p" is 0x257000 in hexa. Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/bpf.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/linux/bpf.txt b/sys/linux/bpf.txt
index b0166b0cd..a972af32d 100644
--- a/sys/linux/bpf.txt
+++ b/sys/linux/bpf.txt
@@ -701,9 +701,9 @@ type bpf_insn_null_check[REG] {
}
type bpf_insn_mov_printk_str_hex[DST] [
-# "%d "
- integer bpf_insn_mov_imm64[DST, 0x25702020, 0x20202000]
# "%p "
+ integer bpf_insn_mov_imm64[DST, 0x25702020, 0x20202000]
+# "%d "
pointer bpf_insn_mov_imm64[DST, 0x25642020, 0x20202000]
]