Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2511328rbb; Wed, 28 Feb 2024 04:23:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXl7+84+pZsHQ8+5JzpjuJmrxnkUbpEfNL5A5BTYOnOtyb/S0dC4TiwXT7/H3hRhyigFumC50uldgv4Shz5xKF91v0qdald8kqFggT3RA== X-Google-Smtp-Source: AGHT+IHN3rwhzGHcaURDY+w2sA4F0PImC3oASFLvVceMtBCEa3rmdeHUVPLiBblHHNuj7rchSOIh X-Received: by 2002:a62:cd85:0:b0:6e4:68c5:440d with SMTP id o127-20020a62cd85000000b006e468c5440dmr2848544pfg.1.1709122991682; Wed, 28 Feb 2024 04:23:11 -0800 (PST) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e3-20020aa79803000000b006e566232680si925951pfl.123.2024.02.28.04.23.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 04:23:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=JYGcguE5; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="kEp/ogbw"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-84991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 76785B221BD for ; Wed, 28 Feb 2024 12:04:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 019383BBDC; Wed, 28 Feb 2024 12:04:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="JYGcguE5"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="kEp/ogbw" Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2189A73522; Wed, 28 Feb 2024 12:04:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.165.32 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709121863; cv=fail; b=IR8T1q7oUs+u13lQGlNIR2GJH0doJgmEAgCOaQyAZZe/yMFJ+pVppPeW/5+9pdtB9B7gvp4tw5psQRZs26QRKSWRSEfYydWNrfGrHsQHBpNpvNklr+Qoqshx4EGNYPTiXajXKVxSOsDetZSUDkFz1Wg/qLI4KqaW3VZlZFdVdII= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709121863; c=relaxed/simple; bh=GGVP5Vr5gyTC24s6Dg+elwz40Jo1ZJ7QaTqTqKCvV+g=; h=Content-Type:Message-ID:Date:Subject:To:Cc:References:From: In-Reply-To:MIME-Version; b=NjOS5F++wGlmftBr7UZ0YGZO+A5ri1PbwIvUfNzJNtAplxtgtMfaoakPKfHaW/0/RKB0A+dddhmtocHSmAGP70MEChmSPPPakd2+Zwvfn0gWZtAk6nwXd0rN2ysqj/XtmzxZ0vX+XkdWqSe8t871UBTk61LJq1Wa2K6SS3IiR+k= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=JYGcguE5; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=kEp/ogbw; arc=fail smtp.client-ip=205.220.165.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 41S6kDuO017477; Wed, 28 Feb 2024 12:04:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=content-type : message-id : date : subject : to : cc : references : from : in-reply-to : mime-version; s=corp-2023-11-20; bh=dBUOScpHBNHKMDQo8JIEGCQyhRpUiTDuLX85AocxRb4=; b=JYGcguE5oBCzOY0lJ/7JxKWZzqQyJpbjcDkkgIyVOm6TX3xiLhXXaxANQB4I+/2aoR9J mf8oPXRWq/M776sSaGsa8qo/6ev9SBbl1XQjxZuRW3Y87ujtkJWuuKRKAm/aZqTYBTFx aFlQn9z5TTch/s9+VfgmcRekE5AWgf2m0rgNVE7sAWX8uUfXtJxrXyoiD5FBOCYpNAtQ 0uG8+70kqj2cDuM4iglrg55VL/7O7Y1vr5D2ZW7bzYxZrb138ZaVV3THpv8LnSwYyoQm 0/l2oX0m9gt8AlNMh9ianA0+lMJQCvtKUO8QAXakFJFPdPlsjQ24U1zy1i/NAg1cEDrl lA== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3wf7ccj48t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Feb 2024 12:04:09 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 41SAbP9V022519; Wed, 28 Feb 2024 12:04:08 GMT Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam02lp2041.outbound.protection.outlook.com [104.47.51.41]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3wf6w932fq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Feb 2024 12:04:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YC68e2ZMuzXdGgaLThB3Bf2svTNldJNI848MTDLeXRV4a83gM7Uzj13SMMvN/hjiUYMmuPU1coWgJzgqHHjyvWHG+sVwbrKYlePkdFURx6UFd4C45L8EX6H1d2v24zrBDIL0tyQNm5MF42B2UWskTQb1k7I0AYF+tnsbgG6AUcOnFXcJQS2a1+ssqsppRZmqWMf3ilwlGJDrte20qL3fesD4yfqhjJM5LdBtnB8Jm85aTmfDO2+RCzaL4C+/F43rEoSsoLAptZxv2gM3WJv24FIIiFwRnqCX5h0vCUTT28wEECWPdqGf6scAsa1ODSLcDIZzkNQipuK1pN0u54I5Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dBUOScpHBNHKMDQo8JIEGCQyhRpUiTDuLX85AocxRb4=; b=RrCDCfBSDRkf7/wG/ZZ9qslo1Ydq5yi6mh/2lnHfVNhLMPEE0166en4m6t7DyPwniYn0tyBtllyKPvg6mWT/k9MJn6V4jMcQNhxzCie5vIEDULJActk6UEMAG9fpsaMYwXTtr8vu7+o9ab6CIGEsSNi9liHywn9dmTjVgR4y4JgKUVTP0xUYzNDPvEkBxnLmc71f7WFO/HsHPoxKDTMrBwbBFTQ4drAS1MGdNn125Bywc0jeTnLwZmmkC8XEsgLe75ODiHB8fu9RgWUIlDIFdlYMSn/RMKiOnteZ8X7FNehGgaWFrYnmE9+CwJc3HurL8zYROT0GTnVk9OxtxwNb6w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dBUOScpHBNHKMDQo8JIEGCQyhRpUiTDuLX85AocxRb4=; b=kEp/ogbwJdGhCPl8gQDQlWtFvmRLyZta1w2z9ARO+aejhmKOxtJymxAKuRMlwYwXmN0d+OVlWPG5SIR0VeYLZtpXjo+ZQoCZx8/rM3fk/UpIP7eAjJ8MFNf60uRG71LC7DegJWSjA+UbRcV+6IVm4ZxPuD8E/1lzisZ5MgNIJ00= Received: from BLAPR10MB5267.namprd10.prod.outlook.com (2603:10b6:208:30e::22) by DS0PR10MB7223.namprd10.prod.outlook.com (2603:10b6:8:de::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Wed, 28 Feb 2024 12:04:06 +0000 Received: from BLAPR10MB5267.namprd10.prod.outlook.com ([fe80::b3b:c19f:bbba:7f70]) by BLAPR10MB5267.namprd10.prod.outlook.com ([fe80::b3b:c19f:bbba:7f70%7]) with mapi id 15.20.7316.039; Wed, 28 Feb 2024 12:04:06 +0000 Content-Type: multipart/mixed; boundary="------------mBUH0t5AeeUFZ3pYCPFebgig" Message-ID: <856564cf-fba4-4473-bfa9-e9b03115abd1@oracle.com> Date: Wed, 28 Feb 2024 12:04:02 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] fix linux kernel BTF builds: increase max percpu variables by 10x To: Jiri Olsa , John Hubbard Cc: Arnaldo Carvalho de Melo , Alexei Starovoitov , bpf@vger.kernel.org, LKML , dwarves@vger.kernel.org References: <20240228032142.396719-1-jhubbard@nvidia.com> Content-Language: en-GB From: Alan Maguire In-Reply-To: X-ClientProxiedBy: LO3P265CA0003.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:bb::8) To BLAPR10MB5267.namprd10.prod.outlook.com (2603:10b6:208:30e::22) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BLAPR10MB5267:EE_|DS0PR10MB7223:EE_ X-MS-Office365-Filtering-Correlation-Id: 3b36eb2c-22c9-416f-9d8b-08dc38555cac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VlRjzSRVQ6+bVvph8TpB3/jJiC0ARdi6aJK2X+Jzog5pky0hoAeTQ+Q7BKzZgPagG17ygHlNyzBF0JCmylxkGplMM7bfqnfVpOnSouiCPYRxPzVWoMpX5BmPG6u78dZ8g81BnDvK1Ny7HI1WiVjoYBYIaNTzDnP2sz4OOc+bJ4XiCkB/+D4VylpHLYr9qV11sBszfSuDW5NACfZc+hZALa5QvXl5LYCFBmhlAhbZ9LggeYJGEOP+WtfjZxiWw1aVR6DrVdIphPlpe4qCqrDGDcICOY0WAmockv2cLqglWiL9YDrRYXsgCTvo//2sSHoyBN7G9hrLoSgGAl5uJE8Eh28jgHVfoPLyE6jMWDZ8Jbn1Vs0qtSL5hImqu1jSHN7a26n0Cyrpb2AQlpm7xXa2brmSIZpaCgPLMbhuGAqJFC3Ga/EVHrJpXaPjX8jF0VcuG01AKQmcMeDRMCM0o9cvmf+tnmMzbK4M4WuJmw+vEA1xDj+eILPcVTAHa4MYUBhV28y1Q5LEHaotRwmbhcbCujsm/CdVh5de6pYUmUSL+EOWoO+0sJoqgUdgy0aWyVuEF4QcywN8NbGrKe01S55jPfYJFPLCCDccefVJeLW9B8OyKALr1ebZmOWS9ErbadqyMlEGgjxtIBrLhdFsjFHXmg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BLAPR10MB5267.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NHc5a2JKUElpL3NPYnlvRjlCanJtWHVRUkw5cnZwNHRxTUVSSzhDRnF3L0lx?= =?utf-8?B?Sk9DT3RWS211OFMzL1lWRHJ3OVlXV1pJVHh3OVg3SE9PR1h0T0VHUW9qU2Zk?= =?utf-8?B?Zm8zdGdqZlE4ZWZWNUdtTDFMSXF3UDhLK3dKMVRlN05sb2s4Vm1aWE8vQy9Z?= =?utf-8?B?NzF4RzRLVThFTmZqNExjU0NGTFEwamk4bm1jV3pFdTUwL3RtMlA0MDNlU1Y0?= =?utf-8?B?bkNRQ1RwdkRXb0t0LzRWWUF6SElSQlNJWm1ldkpHTzNDZ0hDYStLQklPMnBT?= =?utf-8?B?MnVHR2prTmdKSGFUNTFQL2dpZXJ5bzBzRmFGenNWOHlGUS8wMGFWcVJvY2Jq?= =?utf-8?B?RE9jSENWV1liMWdvaUtzc1dnQ2dlcnhabllqeVY4Q1VHSmtLS1pwQXJmbVRI?= =?utf-8?B?VDJqSGVaR3dsaVB4alN4UEdMY0w0SVIyM2k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-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: LtAgqxqya8GsuI+vYHOsOekQN/Ei8A4CnzSGF56CfRXYZCvQjWLPLRf83GEx2ZwwQUYzwAbNNckuscqRccIYYlSymUblXAcn+R+1GloOOU1WO1n6DZHB2Wgn4IBq8+Sa44v8FtK7STMngsYnp+yms4chFjIWtarG5fFgaj8QWqEBzp14piGVvoWWQov5xsC/LRwdbFoxsd0Qp2vl8aL/RCwLwCmLhmGqW9f+05ajyZ8XUdxLRYOLGIWIv4fOzaBM7/PNK4dYJ4F73ZaNpywJOcOq9Lb/2JJB50atuHcjFF1weU7Ul/a0ATeMVSCp3FOYMcXfwhkwbFmeTgNPGP6ZW7vllScLP1Cjufz9Wqty5UCIJyQfjORQ/Famj3A+mUdQRuln65CdZlAswB+5gF+RD01h0wYWOKnPKqre9YWKeUUR0DKjQhigPtKKXX0ganWu/YEAzzpiYoZ5Wv1zo6gz/2PyGOfMeVwmCzVvAJQ0ItuyMLbYC47AN2DE7Oa4F9Ghc+Fn2nvhkLsg49TRGFNGInN11QQxYf8KAjGEd+yF/Onc3ijj9wzzaa/FLm2wqwarx3GRG9TbB5sEqeyrGR/qYdGKGbUUr4XVRbdWPnAH1/U= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b36eb2c-22c9-416f-9d8b-08dc38555cac X-MS-Exchange-CrossTenant-AuthSource: BLAPR10MB5267.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2024 12:04:05.9209 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NEkqZ9fvite/ozM7wFNjrKKHcJgpejBZaH5EW0u1Fsi9ZDJhKd7+EKfCahh/dy+66wxQLcfdMlP3ewic1/F11A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR10MB7223 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-28_04,2024-02-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 spamscore=0 mlxlogscore=999 adultscore=0 mlxscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402280096 X-Proofpoint-ORIG-GUID: G1UgWTdomX2QrSOSj2yZM-7naFhlgQIS X-Proofpoint-GUID: G1UgWTdomX2QrSOSj2yZM-7naFhlgQIS --------------mBUH0t5AeeUFZ3pYCPFebgig Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 28/02/2024 09:20, Jiri Olsa wrote: > On Tue, Feb 27, 2024 at 07:21:42PM -0800, John Hubbard wrote: >> When building the Linux kernel with a distro .config, most or even all >> possible kernel modules are built. This adds up to 4500+ modules, and >> based on my testing, this causes the pahole utility to run out of space, >> which shows up like this (CONFIG_DEBUG_INFO_BTF=y is required in order >> to reproduce this): >> >> LD .tmp_vmlinux.btf >> BTF .btf.vmlinux.bin.o >> Reached the limit of per-CPU variables: 4096 >> ...repeated many times... >> Reached the limit of per-CPU variables: 4096 >> LD .tmp_vmlinux.kallsyms1 >> NM .tmp_vmlinux.kallsyms1.syms >> KSYMS .tmp_vmlinux.kallsyms1.S >> AS .tmp_vmlinux.kallsyms1.S >> LD .tmp_vmlinux.kallsyms2 >> NM .tmp_vmlinux.kallsyms2.syms >> KSYMS .tmp_vmlinux.kallsyms2.S >> AS .tmp_vmlinux.kallsyms2.S >> LD vmlinux >> BTFIDS vmlinux >> libbpf: failed to find '.BTF' ELF section in vmlinux >> FAILED: load BTF from vmlinux: No data available >> make[2]: *** [scripts/Makefile.vmlinux:37: vmlinux] Error 255 >> make[2]: *** Deleting file 'vmlinux' >> make[1]: *** [/kernel_work/linux-people/Makefile:1162: vmlinux] Error 2 >> make: *** [Makefile:240: __sub-make] Error 2 >> >> Increasing MAX_PERCPU_VAR_CNT by 10x avoids running out of space, and >> allows the build to succeed. > > do you have an actual count of percpu variables for your config? > 10x seems a lot to me > > this might be a workaround, but we should make encoder->percpu.vars > dynamically allocated like we do for functions > > jirka > Good idea Jiri; John would you mind trying the attached patch? Thanks! Alan --------------mBUH0t5AeeUFZ3pYCPFebgig Content-Type: text/x-patch; charset=UTF-8; name="0001-btf_encoder-dynamically-allocate-the-vars-array-for-.patch" Content-Disposition: attachment; filename*0="0001-btf_encoder-dynamically-allocate-the-vars-array-for-.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSBhMjU0ZDE0ZGVlMDMxM2YwMWRlMWYxZWE1MDc4NGVkNTdjMjY1MTFjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBbGFuIE1hZ3VpcmUgPGFsYW4ubWFndWlyZUBvcmFjbGUuY29t PgpEYXRlOiBXZWQsIDI4IEZlYiAyMDI0IDExOjU2OjM4ICswMDAwClN1YmplY3Q6IFtQQVRDSCBk d2FydmVzXSBidGZfZW5jb2RlcjogZHluYW1pY2FsbHkgYWxsb2NhdGUgdGhlIHZhcnMgYXJyYXkg Zm9yCiBwZXJjcHUgdmFyaWFibGVzCgpVc2UgY29uc2lzdGVudCBtZXRob2QgYWNyb3NzIGFsbG9j YXRpbmcgZnVuY3Rpb24gYW5kIHBlci1jcHUgdmFyaWFibGUKcmVwcmVzZW50YXRpb25zLCBiYXNl ZCBhcm91bmQgKHJlKWFsbG9jYXRpbmcgdGhlIGFycmF5cyBiYXNlZCBvbiBkZW1hbmQuClRoaXMg YXZvaWRzIGlzc3VlcyB3aGVyZSB0aGUgbnVtYmVyIG9mIHBlci1DUFUgdmFyaWFibGVzIGV4Y2Vl ZHMgdGhlCmhhcmRjb2RlZCBsaW1pdC4KClJlc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