Message ID | 20171012230058.87001-1-salyzyn@android.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 71697602BF for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 12 Oct 2017 23:02:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62B1A286CD for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 12 Oct 2017 23:02:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 576AE2883B; Thu, 12 Oct 2017 23:02:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B9410286CD for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 12 Oct 2017 23:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=4bPH3ABwxQWotBDmIe4o5weDbY0Koi/AY0rSpFJoebY=; b=Cd2 l/QnmSSWlb169Ak10/vkEecHxqTCH3T2F/xTlqcPAItkX8PkA8pnbcB0Pq/fyst5KWzp5hKbuBsMt kku7oHg6pfZTawSsDlTIjbspesv26uQ8fLbXc2/DtfODwn0i2O7hTtvJdbr4qHSqfJHTM8S87L2Fp MHgiJf1U8TAKCqGqt7WHXstKvRbu9oyZgvwQ6T+xxfFBfaz1LUYflSw5OUastupHQsB64oIs9NIyc lSjVpeCZCOHoI4BMcAMDk/HqsjGl+05XEXUCUOqPeXYMrfCow2jFjPwzmce0KjkjptfiRhGG9vAO+ OcfPqU9kkTfzcHnXPnGPau69PmFfFfA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e2mUn-0007K1-6H; Thu, 12 Oct 2017 23:02:29 +0000 Received: from mail-pf0-x236.google.com ([2607:f8b0:400e:c00::236]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e2mTk-0005qx-IS for linux-arm-kernel@lists.infradead.org; Thu, 12 Oct 2017 23:01:54 +0000 Received: by mail-pf0-x236.google.com with SMTP id x7so7056029pfa.1 for <linux-arm-kernel@lists.infradead.org>; Thu, 12 Oct 2017 16:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=BqXKoTbB61uJZGMsWFjLwe75YrnJsfMrWS3iMwII0kE=; b=NUY8A4xn6C74rGLk03M44oQckyoVc/YQQHOfmNI+A040qATjrhAc08qAPm7V22i00y ne5EqT9lZLxRRPCJbR1w8UhpHwFWIlfX8ke0OIMR66wpv9Ie/gkmHBbNbt4E4Lg6lv39 P7kjdGWTb+LYX198USbzt7QBYXCTNunzTN/gA/MtfkIlmGdJ23HPlorE2vWbsbEc5zTl ezJC8fpccHmWpsGWSxINJctF0eilw+Zrgi8mWqPRbvzcoVRA8bKVCnEksV+4t7z5WIsd OtFAq1sDY4kGh6ngvuSfSD+rCokFDoDHKWe82LIkYdCW5j7PZ/u+Y+GEQQFyvjLqq68U +yIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BqXKoTbB61uJZGMsWFjLwe75YrnJsfMrWS3iMwII0kE=; b=QC4bsHzshrGZ1Ad/8kzjKFjjvK4dpOlkBeiFBoNEBXWeiZivfzCRzs7riSyXNMJiNt cjj94McX9Y10/fk3/nvXqrx8vd/2cx6b+4bq0aX42bM8iG9JapguGNS4XG0anDUGjgdf 4vLP79kf34a2pGEjEJ+teSTOuGkHlGSURTBcXPGvl2R4cLqCFl14wd8qWb6kclHz6Hti S+HVFNCL8Bivv+nskDkHEyozN7OaeIuj3Uz1CyDAG7HENSBnXkGFCLi7y6wZ6+AE6Quk 3quBCUaUgsVaOCQ0m0/TlKC10wFGRxpW9QOC+V/ljJIAxSH0KYJJJaTowbS502b7fvaU bzbA== X-Gm-Message-State: AMCzsaVjy3pp6ljKJYjlc8msYiPbcdNhErzuEho0Y3yqeKqeOJwiFFfz MSGWvTW4TyK8KUaOD6IfVmTs1m+0sOI= X-Google-Smtp-Source: AOwi7QDZiXMrSakN3yAp+2c4t1HIKHrIqJ6WWJXLjevI6xoklwZpd32xUQXjOgND2y3EnQRkp0OLhQ== X-Received: by 10.84.199.170 with SMTP id r39mr1410761pld.356.1507849263801; Thu, 12 Oct 2017 16:01:03 -0700 (PDT) Received: from nebulus.mtv.corp.google.com ([100.98.120.17]) by smtp.gmail.com with ESMTPSA id 62sm14483597pfw.129.2017.10.12.16.01.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Oct 2017 16:01:03 -0700 (PDT) From: Mark Salyzyn <salyzyn@android.com> To: linux-kernel@vger.kernel.org Subject: [PATCH v2 8/10] arm: vdso: disable profiling Date: Thu, 12 Oct 2017 16:00:55 -0700 Message-Id: <20171012230058.87001-1-salyzyn@android.com> X-Mailer: git-send-email 2.15.0.rc0.271.g36b669edcc-goog X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171012_160125_304305_489CA825 X-CRM114-Status: UNSURE ( 8.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-arm-kernel@lists.infradead.org, james.morse@arm.com, Russell King <linux@armlinux.org.uk>, Mark Salyzyn <salyzyn@google.com>, Mark Salyzyn <salyzyn@android.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/vdso/Makefile b/arch/arm/vdso/Makefile index 59a8fa7b8a3b..1ce912ab47cc 100644 --- a/arch/arm/vdso/Makefile +++ b/arch/arm/vdso/Makefile @@ -26,8 +26,11 @@ CFLAGS_REMOVE_vdso.o = -pg CFLAGS_REMOVE_vgettimeofday.o = -pg -Os CFLAGS_vgettimeofday.o = -O2 -# Disable gcov profiling for VDSO code +# Disable gcov, kasan, ubsan and kcov profiling for VDSO code GCOV_PROFILE := n +KASAN_SANITIZE := n +UBSAN_SANITIZE := n +KCOV_INSTRUMENT := n # Force dependency $(obj)/vdso.o : $(obj)/vdso.so
Make sure kasan and ubsan profiling, and kcov instrumentation, is turned off for VDSO code. Signed-off-by: Mark Salyzyn <salyzyn@android.com> v2: Added this to the split up of first CL, based on comments in second CL --- arch/arm/vdso/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)