Closed hzxuzhonghu closed 4 months ago
What would you like to be added: Now we can see some logs with bpftool prog tracelog
bpftool prog tracelog
<...>-3051027 [000] d...1 2317308.111889: bpf_trace_printk: [KMESH] DEBUG: origin addr=[153706506:30755] <...>-3051027 [000] d...1 2317308.111897: bpf_trace_printk: [KMESH] DEBUG: bpf find frontend addr=[153706506:30755] <...>-3051034 [000] d...1 2317308.115448: bpf_trace_printk: [KMESH] DEBUG: origin addr=[1310744586:30755] <...>-3051034 [000] d...1 2317308.115455: bpf_trace_printk: [KMESH] DEBUG: bpf find frontend addr=[1310744586:30755] python-3051034 [000] d...1 2317308.119152: bpf_trace_printk: [KMESH] DEBUG: origin addr=[4104478730:30755] python-3051034 [000] d...1 2317308.119163: bpf_trace_printk: [KMESH] DEBUG: bpf find frontend addr=[4104478730:30755] python-3051034 [000] d...1 2317308.119165: bpf_trace_printk: [KMESH] DEBUG: origin addr=[1856135178:41018] python-3051034 [000] d...1 2317308.119166: bpf_trace_printk: [KMESH] DEBUG: bpf find frontend addr=[1856135178:41018]
And the ip and port both not well formatted, we can convert to the host order and print it like original dst addr=[10.96.41.9:9080]
original dst addr=[10.96.41.9:9080]
Why is this needed:
/assign
What would you like to be added: Now we can see some logs with
bpftool prog tracelog
And the ip and port both not well formatted, we can convert to the host order and print it like
original dst addr=[10.96.41.9:9080]
Why is this needed: