Messages in this thread Patch in this message | | | From | Yisheng Xie <> | Subject | [PATCH v2 -perf/core 2/2] perf debug: Avoid set quiet once more | Date | Tue, 13 Mar 2018 20:31:14 +0800 |
| |
When use --quiet to disable log, we will set quiet first, then check the quiet to decide whether need to call perf_quiet_option, so no need to set the quiet once more.
Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com> --- - This is a new add-on patch
tools/perf/util/debug.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/tools/perf/util/debug.c b/tools/perf/util/debug.c index f3a71db..3d64596 100644 --- a/tools/perf/util/debug.c +++ b/tools/perf/util/debug.c @@ -232,7 +232,6 @@ int perf_quiet_option(void) var++; } - quiet = true; return 0; } -- 1.7.12.4
| |