]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb90fb718cfb69db3b12f3128e53c9f1f4c8bf41c
tree74a799e80632669276fcca70bd9edc0fae409fbf
parent7a7474d2a48f841d63adab5693ce7ca76965735f
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