On 12/18/2018 11:13 AM, Quentin Monnet wrote: > 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(-) >
Applied to bpf-next, thanks!
