Netdev List
 help / color / mirror / Atom feed
From: Jakub Kicinski <jakub.kicinski@netronome.com>
To: netdev@vger.kernel.org, alexei.starovoitov@gmail.com,
	daniel@iogearbox.net
Cc: oss-drivers@netronome.com, guro@fb.com,
	Jakub Kicinski <jakub.kicinski@netronome.com>
Subject: [PATCH bpf-next 0/3] tools: bpftool: alias "show" and "list" and fix errors in JSON
Date: Tue,  2 Jan 2018 14:48:34 -0800	[thread overview]
Message-ID: <20180102224837.13736-1-jakub.kicinski@netronome.com> (raw)

Hi!

This series addresses small issues that snuck through the review
of cgroup code.  "list" and "show" are now made aliases to satisfy
all users.  Small fix to errors printed is needed, errors can't
contain new line characters, otherwise JSON will break.

Jakub Kicinski (3):
  tools: bpftool: rename cgroup list -> show in the code
  tools: bpftool: alias show and list commands
  tools: bpftool: remove new lines from errors

 tools/bpf/bpftool/Documentation/bpftool-cgroup.rst |  6 ++--
 tools/bpf/bpftool/Documentation/bpftool-map.rst    |  6 ++--
 tools/bpf/bpftool/Documentation/bpftool-prog.rst   |  6 ++--
 tools/bpf/bpftool/Documentation/bpftool.rst        |  6 ++--
 tools/bpf/bpftool/bash-completion/bpftool          |  8 ++---
 tools/bpf/bpftool/cgroup.c                         | 35 +++++++++++-----------
 tools/bpf/bpftool/map.c                            |  3 +-
 tools/bpf/bpftool/prog.c                           |  7 +++--
 8 files changed, 40 insertions(+), 37 deletions(-)

-- 
2.15.1

             reply	other threads:[~2018-01-02 22:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-02 22:48 Jakub Kicinski [this message]
2018-01-02 22:48 ` [PATCH bpf-next 1/3] tools: bpftool: rename cgroup list -> show in the code Jakub Kicinski
2018-01-02 22:48 ` [PATCH bpf-next 2/3] tools: bpftool: alias show and list commands Jakub Kicinski
2018-01-02 22:48 ` [PATCH bpf-next 3/3] tools: bpftool: remove new lines from errors Jakub Kicinski
2018-01-04 11:31 ` [PATCH bpf-next 0/3] tools: bpftool: alias "show" and "list" and fix errors in JSON Daniel Borkmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180102224837.13736-1-jakub.kicinski@netronome.com \
    --to=jakub.kicinski@netronome.com \
    --cc=alexei.starovoitov@gmail.com \
    --cc=daniel@iogearbox.net \
    --cc=guro@fb.com \
    --cc=netdev@vger.kernel.org \
    --cc=oss-drivers@netronome.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox