perf tools: Add -q/--quiet option to suppress messages (v1)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | perf utils: Add perf_quiet_option()tools/ tools/ | +18 | 0 replies | |
| 2/6 | perf utils: Check verbose flag properlytools/ tools/ tools/ +2 more | +13 | 2 replies | |
| 3/6 | perf report: Add -q/--quiet optiontools/ tools/ | +20 | 4 replies | |
| 4/6 | perf diff: Add -q/--quiet optiontools/ tools/ | +14 | 0 replies | |
| 5/6 | perf annotate: Add -q/--quiet optiontools/ tools/ tools/ | +9 | 0 replies | |
| 6/6 | perf record: Honor quiet option properlytools/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCHSET 0/6] perf tools: Add -q/--quiet option to suppress messages (v1)
Hello,
The -q/--quiet option is to suppress headers or messages (in stdio) so that it can be copied to other place if users just want to see the numbers. This was suggested by Arnaldo.
Note that this patchset only implements it in a couple of commands. If it seems ok, it can be applied to others later.
The code also is available at 'perf/quiet-v1' branch in my tree
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git
Thanks,
Namhyung
Namhyung Kim (6):
perf utils: Add perf_quiet_option()
perf utils: Check verbose flag properly
perf report: Add -q/--quiet option
perf diff: Add -q/--quiet option
perf annotate: Add -q/--quiet option
perf record: Honor quiet option properly
tools/perf/Documentation/perf-annotate.txt | 4 ++++ tools/perf/Documentation/perf-diff.txt | 4 ++++ tools/perf/Documentation/perf-report.txt | 4 ++++ tools/perf/builtin-annotate.c | 4 ++++ tools/perf/builtin-diff.c | 14 ++++++++++---- tools/perf/builtin-record.c | 3 +++ tools/perf/builtin-report.c | 21 ++++++++++++++++----- tools/perf/util/annotate.c | 2 +- tools/perf/util/debug.c | 17 +++++++++++++++++ tools/perf/util/debug.h | 1 + tools/perf/util/dso.c | 2 +- tools/perf/util/hist.c | 6 +++--- tools/perf/util/pmu.c | 8 ++++---- tools/perf/util/sort.c | 8 ++++---- tools/perf/util/symbol-elf.c | 2 +- 15 files changed, 77 insertions(+), 23 deletions(-)
Signature · 1 line
2.11.1