lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1520944274-37001-2-git-send-email-xieyisheng1@huawei.com>
Date:   Tue, 13 Mar 2018 20:31:14 +0800
From:   Yisheng Xie <xieyisheng1@...wei.com>
To:     <acme@...hat.com>
CC:     <mingo@...hat.com>, <peterz@...radead.org>, <namhyung@...nel.org>,
        <jolsa@...hat.com>, <alexander.shishkin@...ux.intel.com>,
        <linux-kernel@...r.kernel.org>, <kan.liang@...ux.intel.com>,
        Yisheng Xie <xieyisheng1@...wei.com>
Subject: [PATCH v2 -perf/core 2/2] perf debug: Avoid set quiet once more

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@...wei.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ