Re: [PATCH bpf-next] bpf: change fake_ip for bpf_trace_printk helper

2018-01-18 Thread Daniel Borkmann
On 01/17/2018 06:19 PM, Yonghong Song wrote: > Currently, for bpf_trace_printk helper, fake ip address 0x1 > is used with comments saying that fake ip will not be printed. > This is indeed true for 4.12 and earlier version, but for > 4.13 and later version, the ip address will be printed if > it ca

[PATCH bpf-next] bpf: change fake_ip for bpf_trace_printk helper

2018-01-17 Thread Yonghong Song
Currently, for bpf_trace_printk helper, fake ip address 0x1 is used with comments saying that fake ip will not be printed. This is indeed true for 4.12 and earlier version, but for 4.13 and later version, the ip address will be printed if it cannot be resolved with kallsym. Running samples/bpf/trac