All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET 00/23] perf tools: Add -q/--quiet option
@ 2017-03-07 15:08 Namhyung Kim
  2017-03-07 15:08 ` [PATCH 01/23] perf report: Hide tip message when -q option is given Namhyung Kim
                   ` (24 more replies)
  0 siblings, 25 replies; 32+ messages in thread
From: Namhyung Kim @ 2017-03-07 15:08 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Ingo Molnar, Peter Zijlstra, Jiri Olsa, LKML, kernel-team

Hello,

This patchset adds -q/--quiet option for most commands.  I skipped
commands missing -v/--verbose option.  While the -q option in this
patchset just suppresses warning messages, some command might want to
mute other outputs too.  I added a few obvious ones and if you have
some thought, please let me know.

The patch 1, 4 and 5 are fixes and can be applied separately.

The code is available on the 'perf/quiet-v2' branche on my tree

git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git

Thanks,
Namhyung


Namhyung Kim (23):
  perf report: Hide tip message when -q option is given
  perf buildid-cache: Add -q/--quiet option
  perf buildid-list: Add -q/--quiet option
  perf c2c: Fix help message of --stats option
  perf c2c: Fix display bug when using pipe
  perf c2c: Add -q/--quiet option
  perf data: Add -q/--quiet option
  perf evlist: Add -q/--quiet option
  perf ftrace: Add -q/--quiet option
  perf inject: Add -q/--quiet option
  perf kallsyms: Add -q/--quiet option
  perf kmem: Add -q/--quiet option
  perf kvm: Add -q/--quiet option
  perf list: Add -q/--quiet option
  perf lock: Add -q/--quiet option
  perf mem: Add -q/--quiet option
  perf sched: Add -q/--quiet option
  perf script: Use pr_err() for error messages
  perf script: Add -q/--quiet option
  perf stat: Use pr_err() for error messages
  perf stat: Add -q/--quiet option
  perf top: Add -q/--quiet option
  perf trace: Add -q/--quiet option

 tools/perf/Documentation/perf-buildid-cache.txt |  4 ++
 tools/perf/Documentation/perf-buildid-list.txt  |  3 ++
 tools/perf/Documentation/perf-c2c.txt           |  8 ++++
 tools/perf/Documentation/perf-data.txt          |  4 ++
 tools/perf/Documentation/perf-evlist.txt        |  4 ++
 tools/perf/Documentation/perf-ftrace.txt        |  4 ++
 tools/perf/Documentation/perf-inject.txt        |  3 ++
 tools/perf/Documentation/perf-kallsyms.txt      |  4 ++
 tools/perf/Documentation/perf-kmem.txt          |  4 ++
 tools/perf/Documentation/perf-kvm.txt           |  3 ++
 tools/perf/Documentation/perf-list.txt          |  9 +++-
 tools/perf/Documentation/perf-lock.txt          |  8 ++++
 tools/perf/Documentation/perf-mem.txt           |  8 ++++
 tools/perf/Documentation/perf-sched.txt         |  8 ++++
 tools/perf/Documentation/perf-script.txt        |  8 ++++
 tools/perf/Documentation/perf-stat.txt          |  4 ++
 tools/perf/Documentation/perf-top.txt           |  4 ++
 tools/perf/Documentation/perf-trace.txt         |  4 ++
 tools/perf/builtin-buildid-cache.c              |  4 ++
 tools/perf/builtin-buildid-list.c               |  4 ++
 tools/perf/builtin-c2c.c                        | 16 +++++--
 tools/perf/builtin-data.c                       |  4 ++
 tools/perf/builtin-evlist.c                     |  8 +++-
 tools/perf/builtin-ftrace.c                     |  7 ++-
 tools/perf/builtin-inject.c                     | 10 ++++-
 tools/perf/builtin-kallsyms.c                   |  7 ++-
 tools/perf/builtin-kmem.c                       |  4 ++
 tools/perf/builtin-kvm.c                        | 10 ++++-
 tools/perf/builtin-list.c                       |  9 +++-
 tools/perf/builtin-lock.c                       | 33 ++++++++------
 tools/perf/builtin-mem.c                        |  6 ++-
 tools/perf/builtin-report.c                     |  3 +-
 tools/perf/builtin-sched.c                      | 12 +++++
 tools/perf/builtin-script.c                     | 45 ++++++++++---------
 tools/perf/builtin-stat.c                       | 59 ++++++++++++++++---------
 tools/perf/builtin-top.c                        |  6 ++-
 tools/perf/builtin-trace.c                      | 33 +++++++++-----
 37 files changed, 291 insertions(+), 83 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2017-03-15 18:36 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-07 15:08 [PATCHSET 00/23] perf tools: Add -q/--quiet option Namhyung Kim
2017-03-07 15:08 ` [PATCH 01/23] perf report: Hide tip message when -q option is given Namhyung Kim
2017-03-07 15:24   ` Arnaldo Carvalho de Melo
2017-03-15 18:34   ` [tip:perf/core] " tip-bot for Namhyung Kim
2017-03-07 15:08 ` [PATCH 02/23] perf buildid-cache: Add -q/--quiet option Namhyung Kim
2017-03-07 15:28   ` Arnaldo Carvalho de Melo
2017-03-07 16:07     ` Namhyung Kim
2017-03-07 15:08 ` [PATCH 03/23] perf buildid-list: " Namhyung Kim
2017-03-07 15:08 ` [PATCH 04/23] perf c2c: Fix help message of --stats option Namhyung Kim
2017-03-15 18:35   ` [tip:perf/core] perf c2c: Clarify " tip-bot for Namhyung Kim
2017-03-07 15:08 ` [PATCH 05/23] perf c2c: Fix display bug when using pipe Namhyung Kim
2017-03-15 18:35   ` [tip:perf/core] " tip-bot for Namhyung Kim
2017-03-07 15:08 ` [PATCH 06/23] perf c2c: Add -q/--quiet option Namhyung Kim
2017-03-07 15:08 ` [PATCH 07/23] perf data: " Namhyung Kim
2017-03-07 15:08 ` [PATCH 08/23] perf evlist: " Namhyung Kim
2017-03-07 15:08 ` [PATCH 09/23] perf ftrace: " Namhyung Kim
2017-03-07 15:08 ` [PATCH 10/23] perf inject: " Namhyung Kim
2017-03-07 15:08 ` [PATCH 11/23] perf kallsyms: " Namhyung Kim
2017-03-07 15:08 ` [PATCH 12/23] perf kmem: " Namhyung Kim
2017-03-07 15:08 ` [PATCH 13/23] perf kvm: " Namhyung Kim
2017-03-07 15:08 ` [PATCH 14/23] perf list: " Namhyung Kim
2017-03-07 15:08 ` [PATCH 15/23] perf lock: " Namhyung Kim
2017-03-07 15:08 ` [PATCH 16/23] perf mem: " Namhyung Kim
2017-03-07 15:08 ` [PATCH 17/23] perf sched: " Namhyung Kim
2017-03-07 15:08 ` [PATCH 18/23] perf script: Use pr_err() for error messages Namhyung Kim
2017-03-07 15:08 ` [PATCH 19/23] perf script: Add -q/--quiet option Namhyung Kim
2017-03-07 15:08 ` [PATCH 20/23] perf stat: Use pr_err() for error messages Namhyung Kim
2017-03-07 15:08 ` [PATCH 21/23] perf stat: Add -q/--quiet option Namhyung Kim
2017-03-07 15:08 ` [PATCH 22/23] perf top: " Namhyung Kim
2017-03-07 15:08 ` [PATCH 23/23] perf trace: " Namhyung Kim
2017-03-07 15:20 ` [PATCHSET 00/23] perf tools: " Jiri Olsa
2017-03-07 15:35 ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.