[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1545127999-12373-1-git-send-email-quentin.monnet@netronome.com>
Date: Tue, 18 Dec 2018 10:13:17 +0000
From: Quentin Monnet <quentin.monnet@...ronome.com>
To: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>
Cc: netdev@...r.kernel.org, oss-drivers@...ronome.com,
Quentin Monnet <quentin.monnet@...ronome.com>
Subject: [PATCH bpf-next 0/2] tools: bpftool: mount tracefs if needed and if desired
Hi,
This series focus on mounting (or not mounting) tracefs with bpftool.
First patch makes bpftool attempt to mount tracefs if tracefs is not found
when running "bpftool prog tracelog".
Second patch adds an option to bpftool to prevent it from attempting to
mount any file system (tracefs or bpffs), in case this behaviour is
undesirable for some users.
Quentin Monnet (2):
tools: bpftool: attempt to mount tracefs if required for tracelog cmd
tools: bpftool: add an option to prevent auto-mount of bpffs, tracefs
tools/bpf/bpftool/Documentation/bpftool-map.rst | 4 +++
tools/bpf/bpftool/Documentation/bpftool-prog.rst | 4 +++
tools/bpf/bpftool/Documentation/bpftool.rst | 4 +++
tools/bpf/bpftool/common.c | 31 ++++++++++++++++++++----
tools/bpf/bpftool/main.c | 8 +++++-
tools/bpf/bpftool/main.h | 6 ++++-
tools/bpf/bpftool/tracelog.c | 23 ++++++++++++------
7 files changed, 66 insertions(+), 14 deletions(-)
--
2.7.4
Powered by blists - more mailing lists