diff options
author | James Clark | 2022-10-18 10:41:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2022-12-31 13:33:07 +0100 |
commit | 5d098b5080cbef4e96e5b7a8574bfab2e5a5c93a (patch) | |
tree | d1d89c5d102c8a08ff82714c09c2f5afe9c1077e /tools/perf/util | |
parent | 01c4004e40b6b08783a11daf3280a4a1a552c5a0 (diff) |
perf tools: Make quiet mode consistent between tools
[ Upstream commit a527c2c1e2d43e9f145f5d0c5d6ac0bdf5220e22 ]
Use the global quiet variable everywhere so that all tools hide warnings
in quiet mode and update the documentation to reflect this.
'perf probe' claimed that errors are not printed in quiet mode but I
don't see this so remove it from the docs.
Signed-off-by: James Clark <james.clark@arm.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221018094137.783081-3-james.clark@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Stable-dep-of: 8b269b755512 ("perf probe: Check -v and -q options in the right place")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/util')
-rw-r--r-- | tools/perf/util/stat.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/stat.h b/tools/perf/util/stat.h index b0899c6e002f..35c940d7f29c 100644 --- a/tools/perf/util/stat.h +++ b/tools/perf/util/stat.h @@ -139,7 +139,6 @@ struct perf_stat_config { bool metric_no_group; bool metric_no_merge; bool stop_read_counter; - bool quiet; bool iostat_run; char *user_requested_cpu_list; bool system_wide; |