1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
| [root@ubuntu-22 geektime] strace: exec: Permission denied +++ exited with 1 +++
[root@ubuntu-22 geektime]
[root@ubuntu-22 geektime] In file included from <built-in>:2: In file included from /virtual/include/bcc/bpf.h:12: In file included from include/linux/types.h:6: In file included from include/uapi/linux/types.h:14: In file included from include/uapi/linux/posix_types.h:5: In file included from include/linux/stddef.h:5: In file included from include/uapi/linux/stddef.h:5: In file included from include/linux/compiler_types.h:80: include/linux/compiler-clang.h:41:9: warning: '__HAVE_BUILTIN_BSWAP32__' macro redefined [-Wmacro-redefined]
^ <command line>:4:9: note: previous definition is here
^ In file included from <built-in>:2: In file included from /virtual/include/bcc/bpf.h:12: In file included from include/linux/types.h:6: In file included from include/uapi/linux/types.h:14: In file included from include/uapi/linux/posix_types.h:5: In file included from include/linux/stddef.h:5: In file included from include/uapi/linux/stddef.h:5: In file included from include/linux/compiler_types.h:80: include/linux/compiler-clang.h:42:9: warning: '__HAVE_BUILTIN_BSWAP64__' macro redefined [-Wmacro-redefined]
^ <command line>:5:9: note: previous definition is here
^ In file included from <built-in>:2: In file included from /virtual/include/bcc/bpf.h:12: In file included from include/linux/types.h:6: In file included from include/uapi/linux/types.h:14: In file included from include/uapi/linux/posix_types.h:5: In file included from include/linux/stddef.h:5: In file included from include/uapi/linux/stddef.h:5: In file included from include/linux/compiler_types.h:80: include/linux/compiler-clang.h:43:9: warning: '__HAVE_BUILTIN_BSWAP16__' macro redefined [-Wmacro-redefined]
^ <command line>:3:9: note: previous definition is here
^ 3 warnings generated. bpf(BPF_BTF_LOAD, {btf="\237\353\1\0\30\0\0\0\0\0\0\0\230\2\0\0\230\2\0\0\315\t\0\0\0\0\0\0\0\0\0\2"..., btf_log_buf=NULL, btf_size=3197, btf_log_size=0, btf_log_level=0}, 128) = 3 bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_KPROBE, insn_cnt=13, insns=[{code=BPF_ALU64|BPF_K|BPF_MOV, dst_reg=BPF_REG_1, src_reg=BPF_REG_0, off=0, imm=0x21}, {code=BPF_STX|BPF_H|BPF_MEM, dst_reg=BPF_REG_10, src_reg=BPF_REG_1, off=-4, imm=0}, {code=BPF_ALU64|BPF_K|BPF_MOV, dst_reg=BPF_REG_1, src_reg=BPF_REG_0, off=0, imm=0x646c726f}, {code=BPF_STX|BPF_W|BPF_MEM, dst_reg=BPF_REG_10, src_reg=BPF_REG_1, off=-8, imm=0}, {code=BPF_LD|BPF_DW|BPF_IMM, dst_reg=BPF_REG_1, src_reg=BPF_REG_0, off=0, imm=0x6c6c6548}, {code=BPF_LD|BPF_W|BPF_IMM, dst_reg=BPF_REG_0, src_reg=BPF_REG_0, off=0, imm=0x57202c6f}, {code=BPF_STX|BPF_DW|BPF_MEM, dst_reg=BPF_REG_10, src_reg=BPF_REG_1, off=-16, imm=0}, {code=BPF_ALU64|BPF_X|BPF_MOV, dst_reg=BPF_REG_1, src_reg=BPF_REG_10, off=0, imm=0}, {code=BPF_ALU64|BPF_K|BPF_ADD, dst_reg=BPF_REG_1, src_reg=BPF_REG_0, off=0, imm=0xfffffff0}, {code=BPF_ALU64|BPF_K|BPF_MOV, dst_reg=BPF_REG_2, src_reg=BPF_REG_0, off=0, imm=0xe}, {code=BPF_JMP|BPF_K|BPF_CALL, dst_reg=BPF_REG_0, src_reg=BPF_REG_0, off=0, imm=0x6}, {code=BPF_ALU64|BPF_K|BPF_MOV, dst_reg=BPF_REG_0, src_reg=BPF_REG_0, off=0, imm=0}, {code=BPF_JMP|BPF_K|BPF_EXIT, dst_reg=BPF_REG_0, src_reg=BPF_REG_0, off=0, imm=0}], license="GPL", log_level=0, log_size=0, log_buf=NULL, kern_version=KERNEL_VERSION(5, 15, 74), prog_flags=0, prog_name="hello_world", prog_ifindex=0, expected_attach_type=BPF_CGROUP_INET_INGRESS, prog_btf_fd=3, func_info_rec_size=8, func_info=0x55cd34bb8700, func_info_cnt=1, line_info_rec_size=16, line_info=0x55cd34b42800, line_info_cnt=5, attach_btf_id=0, attach_prog_fd=0, fd_array=NULL}, 128) = 4 b' head-165284 [000] d...1 27977.168992: bpf_trace_printk: Hello, World!' b' head-165284 [000] d...1 27977.169022: bpf_trace_printk: Hello, World!' b' head-165284 [000] d...1 27977.169047: bpf_trace_printk: Hello, World!' b' head-165284 [000] d...1 27977.169050: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27978.006685: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27978.006702: bpf_trace_printk: Hello, World!' b' who-165294 [000] d...1 27978.193472: bpf_trace_printk: Hello, World!' b' who-165294 [000] d...1 27978.193486: bpf_trace_printk: Hello, World!' b' who-165294 [000] d...1 27978.193505: bpf_trace_printk: Hello, World!' b' who-165294 [000] d...1 27978.193505: bpf_trace_printk: Hello, World!' b' who-165294 [000] d...1 27978.193711: bpf_trace_printk: Hello, World!' b' who-165294 [000] d...1 27978.193712: bpf_trace_printk: Hello, World!' b' who-165294 [000] d...1 27978.193806: bpf_trace_printk: Hello, World!' b' who-165294 [000] d...1 27978.193807: bpf_trace_printk: Hello, World!' b' who-165294 [000] d...1 27978.193900: bpf_trace_printk: Hello, World!' b' who-165294 [000] d...1 27978.193902: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27978.257082: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27978.257119: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27978.506782: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27978.506819: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27978.757435: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27978.757476: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.006600: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.006637: bpf_trace_printk: Hello, World!' b' head-165297 [000] d...1 27979.203999: bpf_trace_printk: Hello, World!' b' head-165297 [000] dN..1 27979.204040: bpf_trace_printk: Hello, World!' b' head-165297 [000] d...1 27979.204324: bpf_trace_printk: Hello, World!' b' head-165297 [000] dN..1 27979.204347: bpf_trace_printk: Hello, World!' b' head-165297 [000] d...1 27979.204716: bpf_trace_printk: Hello, World!' b' head-165297 [000] dN..1 27979.204729: bpf_trace_printk: Hello, World!' b' head-165297 [000] d...1 27979.205191: bpf_trace_printk: Hello, World!' b' head-165297 [000] dN..1 27979.205215: bpf_trace_printk: Hello, World!' b' tail-165298 [001] d...1 27979.212232: bpf_trace_printk: Hello, World!' b' tail-165298 [001] dN..1 27979.212317: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257070: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257121: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257315: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257323: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257356: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257357: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257426: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257428: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257496: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257497: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257515: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257516: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257626: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257627: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257699: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257700: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257716: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257717: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257732: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257733: bpf_trace_printk: Hello, World!' b' systemd-oomd-636 [001] d...1 27979.257748: bpf_trace_printk: Hello, World!'
|