Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1239095lfc; Wed, 1 Jun 2022 12:44:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJww2KyByb+Qs4U/YznHO8uI2Yh/BI4pspKaT9LNCImJSMDlTrrTYCbMxG1a8JuIaKhhKVgt X-Received: by 2002:a63:f405:0:b0:3fc:74c6:fa2 with SMTP id g5-20020a63f405000000b003fc74c60fa2mr884829pgi.38.1654112666652; Wed, 01 Jun 2022 12:44:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654112666; cv=none; d=google.com; s=arc-20160816; b=p2G65ZTvzVq6v9Vv5kzY4LNj4yo9Y/dOQ5pFwRfHgapmuVRvWklx95HlQm27QpZZbW 3jBhmOCxRBuwcusP4hfMmbff+pKMYGIIETFd1g+ej29we7j4I0BCI/xwecjW9M8dT8QM /WlDSb50QiJgqf/bLzfHpsjc/ezO6v1sFr/uixcG0TN5+mM/Yw295FkKLKArNss2g4Wh gSSUB9/AL1sTMr5OrneE52we0c3okC74v+QXOV8AGSnTExTvVqWtBiaB36G7btclWAF1 YhENULP4/sbFUc3cLcN1hdJCryYZI201SOjIAfmBaeVw4Zv3XLNrKchUlwgJUOKeqvFV vzow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=9gwZhGyJGGC1FaQL7Oz+PewEEZleNwQFKxHJGoneMPk=; b=PLlcIekb3aXNOkppxrcyx1NbEBgBdSv0e3tMBr6ax6XkhSr4J227YVwRv86EDYoFFy Hvln9Ufc4+0xtYigNuvuVuNxRfvgHmipHyZDrGD9Cit7IqyD5u9zBALdTVpKVK7NIF/l ktut3euPAupBALNW/G46NAgA2VlEG+AzhCwJxIzqMYFqhXsoc4jrXx/6qwDpyPkSA/8u T8W5l4ue9o6nJ52ibi3l40usOhsoCmJFcF6uU3HHXggYnhwmfXckBs/jwyN2bTBA/ZPu RrsMs+AY5Evj3g/baQZG07yH1xz7t5VQDWDH4b+x8vyL4qWLKgVRTZgRvU2E74yfyLvz k6OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FQGC0vPJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h5-20020a655185000000b003fc6004626dsi3079196pgq.392.2022.06.01.12.44.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 12:44:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FQGC0vPJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 641B21D7866; Wed, 1 Jun 2022 12:09:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347728AbiEaWuT (ORCPT + 99 others); Tue, 31 May 2022 18:50:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348633AbiEaWuR (ORCPT ); Tue, 31 May 2022 18:50:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31BB2A0062; Tue, 31 May 2022 15:50:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C125FB81744; Tue, 31 May 2022 22:50:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 676F3C3411F; Tue, 31 May 2022 22:50:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654037413; bh=1ffP4TkVvgi6sPn0mAOKdWQJeMzHw+Y5jSkgORcq0E4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=FQGC0vPJHF2v812MbjsSI7JBhC+nkrsu62q1PtPwswLKAXkeCQEWYtmdJQvFoQlgR xR8M+hUEhlUStAGR26lDRluxMU5FZCrE6uyak8qQ3Xmarg0aQ1ajvHEDDSgLYsNPCX Jkws8dJocrLartPwQQQiRRbf/PmLPfKwPm01/EpgaBS7u5tJCWKacrGazjswn6l6pa EvCktRAykqz4V74M7LiS0bAbWItLZDrSaubQVxdP6nW91nCihi+VE7qmugEL2yFBAp A9wFT2mqi61r4B42BzxHM78OPlNYXescDTc8gxt7p1gYY5R/2RFYA6UlPwsEuOkb9q YuQQ6oSwIJo8w== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 4B243F0394F; Tue, 31 May 2022 22:50:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v3] libbpf: Fix determine_ptr_size() guessing From: patchwork-bot+netdevbpf@kernel.org Message-Id: <165403741330.9645.14080630675434689339.git-patchwork-notify@kernel.org> Date: Tue, 31 May 2022 22:50:13 +0000 References: <20220524094447.332186-1-douglas.raillard@arm.com> In-Reply-To: <20220524094447.332186-1-douglas.raillard@arm.com> To: Douglas RAILLARD Cc: bpf@vger.kernel.org, beata.michalska@arm.com, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, nathan@kernel.org, ndesaulniers@google.com, trix@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko : On Tue, 24 May 2022 10:44:47 +0100 you wrote: > From: Douglas Raillard > > One strategy employed by libbpf to guess the pointer size is by finding > the size of "unsigned long" type. This is achieved by looking for a type > of with the expected name and checking its size. > > Unfortunately, the C syntax is friendlier to humans than to computers > as there is some variety in how such a type can be named. Specifically, > gcc and clang do not use the same names for integer types in debug info: > > [...] Here is the summary with links: - [v3] libbpf: Fix determine_ptr_size() guessing https://git.kernel.org/bpf/bpf-next/c/8a140f1b12f7 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html