samples: bpf: Remove bpf_debug macro in favor of bpf_printk
authorMichal Rostecki <mrostecki@opensuse.org>
Tue, 18 Jun 2019 18:13:18 +0000 (20:13 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 25 Jun 2019 01:18:30 +0000 (18:18 -0700)
commit7ae9f2817ad5130fdffa3692ef69b9d0e91279e8
tree74a799e80632669276fcca70bd9edc0fae409fbf
parent7d30a7f6424e88c958c19a02f6f54ab8d25919cd
samples: bpf: Remove bpf_debug macro in favor of bpf_printk

ibumad example was implementing the bpf_debug macro which is exactly the
same as the bpf_printk macro available in bpf_helpers.h. This change
makes use of bpf_printk instead of bpf_debug.

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
samples/bpf/ibumad_kern.c