Re: [PATCH v3 bpf-next 0/2] bpf: fix use of trace_printk() in BPF

2020-07-13 Thread Alexei Starovoitov
On Mon, Jul 13, 2020 at 4:53 AM Alan Maguire wrote: > > Steven suggested a way to resolve the appearance of the warning banner > that appears as a result of using trace_printk() in BPF [1]. > Applying the patch and testing reveals all works as expected; we > can call bpf_trace_printk() and see the

[PATCH v3 bpf-next 0/2] bpf: fix use of trace_printk() in BPF

2020-07-13 Thread Alan Maguire
Steven suggested a way to resolve the appearance of the warning banner that appears as a result of using trace_printk() in BPF [1]. Applying the patch and testing reveals all works as expected; we can call bpf_trace_printk() and see the trace messages in /sys/kernel/debug/tracing/trace_pipe and no