]> git.baikalelectronics.ru Git - kernel.git/commit
bpftool: Make probes which emit dmesg warnings optional
authorMichal Rostecki <mrostecki@opensuse.org>
Wed, 26 Feb 2020 16:59:36 +0000 (17:59 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 26 Feb 2020 17:34:34 +0000 (18:34 +0100)
commitd76639727da26cf18180ae7234b9c16542e5c299
tree7031a16848e12350bf8fdc2384ceacdbbc6901a4
parent4c00f5f1a3544b6909c8951e9a1882da5ce93de8
bpftool: Make probes which emit dmesg warnings optional

Probes related to bpf_probe_write_user and bpf_trace_printk helpers emit
dmesg warnings which might be confusing for people running bpftool on
production environments. This change filters them out by default and
introduces the new positional argument "full" which enables all
available probes.

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20200226165941.6379-3-mrostecki@opensuse.org
tools/bpf/bpftool/feature.c