Message ID | 20250114-kcov-v1-6-004294b931a2@quicinc.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86F37E77188 for <linux-mm@archiver.kernel.org>; Tue, 14 Jan 2025 05:36:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1F0D1280004; Tue, 14 Jan 2025 00:36:23 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1A114280001; Tue, 14 Jan 2025 00:36:23 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0411A280004; Tue, 14 Jan 2025 00:36:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id DB513280001 for <linux-mm@kvack.org>; Tue, 14 Jan 2025 00:36:22 -0500 (EST) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 5A2828062B for <linux-mm@kvack.org>; Tue, 14 Jan 2025 05:36:22 +0000 (UTC) X-FDA: 83004947004.28.803D319 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by imf23.hostedemail.com (Postfix) with ESMTP id EC60B140009 for <linux-mm@kvack.org>; Tue, 14 Jan 2025 05:36:19 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=quicinc.com header.s=qcppdkim1 header.b=pib3eWcG; spf=pass (imf23.hostedemail.com: domain of quic_jiangenj@quicinc.com designates 205.220.168.131 as permitted sender) smtp.mailfrom=quic_jiangenj@quicinc.com; dmarc=pass (policy=none) header.from=quicinc.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736832980; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=sbZl6GtDotLNfy1i0ybFvuNDyQMsou97Y3PruXQtvYc=; b=WptuXeqOE6vnSBuOxFdC3uzEzkxoy4QkUQUHAeOt1NsaS6nOvKDyCJxnyXYePxF2mr0knQ CIQbst6Q/v+xfr6kJ2BqtoKLB2bvDGIVCWr4R+4OOwuYUFSMqTTxKHZ5bCKlpu/88o7TU+ 9wzMFwnvUvsSZIISZW0WIEqflBjTktU= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=quicinc.com header.s=qcppdkim1 header.b=pib3eWcG; spf=pass (imf23.hostedemail.com: domain of quic_jiangenj@quicinc.com designates 205.220.168.131 as permitted sender) smtp.mailfrom=quic_jiangenj@quicinc.com; dmarc=pass (policy=none) header.from=quicinc.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736832980; a=rsa-sha256; cv=none; b=VNcWIUOImifYwj9PNv39BQsa0aT8de7xMMLEAExk2vOrsKdrvG5U4sjMAIQEIY8SmA0FbR Qqw5PVXdktJvhT2mm+hVghj6nYZEkFntQqzIa6I4qO7eNbjvzFcVgyrl2QaZv3kc2ye809 n7Uj2oBd6CvX/rIRmwBEK3Y69LMPic8= Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50E40k6j020873; Tue, 14 Jan 2025 05:36:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= sbZl6GtDotLNfy1i0ybFvuNDyQMsou97Y3PruXQtvYc=; b=pib3eWcGHBy1q5JO eqjOf146/5gOab2zbejzkS2zfNrQW2mDtMyDQAhbTP8n6nM/nD+Fm8FIRFxSv/hw PLyXf92MGH3p2QrEOwHZ6bW4YJ5bXwPBnoJValvoWFGYWzgcj/X2gtl2h7iBE+Vd Ud3nCD2wZycQ/XRcxOh4udyfp965MOGdXQDIT855hgCMhLfW9+XnleDiTW2QSIB4 X87O1VDwqdCOSIV5lQRK7vXnwtIAGY6aUU8y2LGTB+70/wXMtS3h3aUhQ5LO7jvG 4syLPlEWs1ra4stuiLFpyJfP6FDVN09pNxgY7lcUnDKkKAZbJ2L8nYFv1UwTtxj+ NhOR9Q== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 445gh60522-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Jan 2025 05:36:09 +0000 (GMT) Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 50E5a9Sk032192 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Jan 2025 05:36:09 GMT Received: from la-sh002-lnx.ap.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 13 Jan 2025 21:36:03 -0800 From: "Jiao, Joey" <quic_jiangenj@quicinc.com> Date: Tue, 14 Jan 2025 13:34:36 +0800 Subject: [PATCH 6/7] kcov: disable instrumentation for genalloc and bitmap MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20250114-kcov-v1-6-004294b931a2@quicinc.com> References: <20250114-kcov-v1-0-004294b931a2@quicinc.com> In-Reply-To: <20250114-kcov-v1-0-004294b931a2@quicinc.com> To: Dmitry Vyukov <dvyukov@google.com>, Andrey Konovalov <andreyknvl@gmail.com>, Jonathan Corbet <corbet@lwn.net>, Andrew Morton <akpm@linux-foundation.org>, Dennis Zhou <dennis@kernel.org>, Tejun Heo <tj@kernel.org>, Christoph Lameter <cl@linux.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org> CC: <kasan-dev@googlegroups.com>, <linux-kernel@vger.kernel.org>, <workflows@vger.kernel.org>, <linux-doc@vger.kernel.org>, <linux-mm@kvack.org>, <linux-arm-kernel@lists.infradead.org>, <kernel@quicinc.com> X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736832942; l=875; i=quic_jiangenj@quicinc.com; s=20250114; h=from:subject:message-id; bh=EXcTVhs0X6v2Sn7y/hEncpAKcEG0rAcAKxXrOMGyy08=; b=DPbLlmPLNl9LVZSN1bfAVqQsyLNyv2HqNKFt/s+LvYi8cIICAf3fRzFkJUf2iumIUN1xDcknK z8FbRLfWBReCSA8dPFnjOChSeV9/ToF4C7tcNQG1a9YzeqfEVSpKKbd X-Developer-Key: i=quic_jiangenj@quicinc.com; a=ed25519; pk=JPzmfEvx11SW1Q1qtMhFcAx46KP1Ui36jcetDgbev28= X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: CzmwwnNWwZyaCVN5LYXu9a4ccWBCgyOh X-Proofpoint-GUID: CzmwwnNWwZyaCVN5LYXu9a4ccWBCgyOh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 suspectscore=0 malwarescore=0 mlxlogscore=778 phishscore=0 clxscore=1015 spamscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501140044 X-Rspamd-Server: rspam05 X-Stat-Signature: 8y881usxnf1zitimmzx5oregubeisiu9 X-Rspamd-Queue-Id: EC60B140009 X-Rspam-User: X-HE-Tag: 1736832979-418259 X-HE-Meta: U2FsdGVkX1+mfihdrmpySyf0QkOgDqMP/qMGJKLuT9mlJECBgWFe+b5OWDCN7fdxSp1jivluwnY4PX4WH2/OZWmJiZnaCsOOSfLyIo+iKM+ZkbXQfTI3wo5hEer+iSxDBxaBhyz4Ty6GZ6T9yr19RNICDSFLr4i1A32fmOKGmjPVHv15S6qWR8PHyl1IqreAphLQghDTrZdjSPO7SKRFVi06cABBhfLacZbGhvbEnbgntbV8Yk5wT+H0EEFoJuvZjwjej5LiFzfwhC6s0ZbzXmYPSvlauDT7JhK/ajG1wE00SdnXgq7MHvdc7Tb6QbEeZvWKdBvbvh9ZAJMb3cJV9rQParHDEQYi3dnzqRtmtFhQs9o+/FHPJw3aVthJ8nawikacil4u2xkPsxrC/QCFYRvzW3V0Jl7MsHuYlvWUH40+LeJzswrBa0fYnaYK8ICeWPf/xJB53Dnh00yOa2BvCjuy1ZeHz3tBgM//RHmrR4g70HKXE+HOG8IjWk+Hf7UE6Z7kRlPfcN6zH9m+D6/Z88GUeDc3kKI1hNueGtmOAVCcaEuG1C1Cv5NgYnivlJ/qExNVbCAon4du3+iLWDRhZ1O5LIggBJ18rORG09cDgoi638VPbU+yPSzFtZGnVDMg+BI189cz4eDPlYCVMsVrfz873ZTMYeeEMcxs2CG41wLMUOiRfzBJ1SIxw7EuMyCrpeSCTUbbr68dyG3JNq4R4fM07esgg3bhdxz7qghdZnF+VfXvFHYOLlwS2bKbFnGKyfUZQ9iU90l3vRsdJQlGWEXVtjHlqynlRvPqR74XbEbi1nFcIwVaaIlkx7l7J5EepqVYf0o8Z3PgRSqFi6nGfS1g3lnusVByljS7JBagEu0vFeLYG6/g/3SDW/JOgjirpDJetqkxZc70pBB53htF1p2GopwQbpolzgH39OwAFzpJlaWUQbf76lEWRvQ2qZPbX0C7WxDbVflprnxx+kJ cNHHQ/bX sd/52NK1lp7mEyeEWAqAxyjCWzBEVfcCdHHaoWHzt2VTWJqKxfbhvzqNqtp6sn0MPQo8vw9T2WgnQYdcPoxrIkqiAC//8n/5OZOjf7w7+kUldiJWka2BQU5bg1OeHtVuPN4eyGtoL1CRhDJu21R0I7NuUgvmO8NbAYm28hhXVcayFkrYA74mjUqNWResU1QzD8LrstCJZmXDRa9E+LuQAi/UD0YZ5nH9cbtHQT95aLwh6CT6pXXubUdDPCMUVoFlhzBE/5MfCsNR1pL3rw7bvDzHPfQRkvv6lTEZBi2TFruWm3m7Fwk5g2nowUBsZCIHkzI5t/ksdwMYOtkYD/ElMcJmEttGSZLgwm6x8gAhcB980Xup7mWembQlUgrMRG624Gz7B X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
kcov: Introduce New Unique PC|EDGE|CMP Modes
|
expand
|
diff --git a/lib/Makefile b/lib/Makefile index a8155c972f02856fcc61ee949ddda436cfe211ff..7a110a9a4a527b881ca3a0239d0b60511cb6e38b 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -15,6 +15,8 @@ KCOV_INSTRUMENT_debugobjects.o := n KCOV_INSTRUMENT_dynamic_debug.o := n KCOV_INSTRUMENT_fault-inject.o := n KCOV_INSTRUMENT_find_bit.o := n +KCOV_INSTRUMENT_genalloc.o := n +KCOV_INSTRUMENT_bitmap.o := n # string.o implements standard library functions like memset/memcpy etc. # Use -ffreestanding to ensure that the compiler does not try to "optimize"
gen_pool_alloc in kcov_map_add triggers recursive call, which trigger BUG: TASK stack guard page was hit at ffffc9000451ff38. Disable KCOV to avoid the recursive call. Signed-off-by: Jiao, Joey <quic_jiangenj@quicinc.com> --- lib/Makefile | 2 ++ 1 file changed, 2 insertions(+)