Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2518544pxa; Mon, 24 Aug 2020 17:06:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjS2gv6pJIGjUcAwCQAyX42vTw810Qc6k2Rwr4f6duEYpTxdaa0g8vZyx/phEJTGIy5edV X-Received: by 2002:a05:6402:1282:: with SMTP id w2mr7394514edv.183.1598313992764; Mon, 24 Aug 2020 17:06:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598313992; cv=none; d=google.com; s=arc-20160816; b=Eqp06NZ2rnL5nkbL0RTkj7ylxxPecXGNFgL0eUp4xESzsyeKQNLgQ5w8pXDHi2dFmM +yNOxgi+sRueyDvCTCiDYW1q0u6ELKuY3gA2nQVDPHtJ5VsKwvWNd+5ioVCqnaqWVwaO BhO3bloYGbBiLax3FtqMBPc88xkPHzWjGpZdTifXy/IzPwhh4uLuYWresxaGNsv5jHwo tihP2SyeMMuhBEAoeu/IzLKqRZshlN2mpWHHnURyVnr7xyJ6wPD1hL+zkmb+U/AbCpSh Y046tKmMnS8H87mOioitqySN7IynhCIbq+pDiSMpA0BVgnMibDgTxoKv5g3ovmGXrSUA IPgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=qSJ3hn6SwlvnIDydC8UlMXM4TqY2oPyCDRxRi3ibWKE=; b=CRiaIQYZYGvS/KmbVjVK5FYldMwQf/fq971p/XmClV9t70sOWfTOxdLgyqHSFjoQta 41uvRKCAFsN4uLgmAs8gp5xfY4WRiXOHBfP8gkLqGiqFKGFCCbJE96kukoldo+qjYnUi aTc7m72UGxJg6V7uPPFyZ5N8y70Mg2R/tfnyoqZH0VgiIuiaYBKEWQw9dCI6TvHKFuFj Uldn3UiZJlXwt8YOCKMqnF4qPe3l3Jvuivg1F3RGEjF+HqS1agAjb8iNTJy4/n1YZBEa LsCkeIrmtLZIEvfV6plMNdceWmMm3bkNHBATgDkD6rrFgYZqr/kTqa6dcJsygTFUve2s aJHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=QApUvtXG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s18si8112970eji.593.2020.08.24.17.06.09; Mon, 24 Aug 2020 17:06:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=QApUvtXG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726975AbgHYAFj (ORCPT + 99 others); Mon, 24 Aug 2020 20:05:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726713AbgHYAFg (ORCPT ); Mon, 24 Aug 2020 20:05:36 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A291C061795 for ; Mon, 24 Aug 2020 17:05:35 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id o18so14160880eje.7 for ; Mon, 24 Aug 2020 17:05:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qSJ3hn6SwlvnIDydC8UlMXM4TqY2oPyCDRxRi3ibWKE=; b=QApUvtXGB19mVLe2YJN+0fc/ADwHcSDUAddvOk2oAlHGx94SRMwAiMJTJvczmY5/LJ 5H8+z7s7ZKd4wBvGD40WowzmVgvVsHC7ykBwWbntxs+LCdWQ0VlGq5aJy0tz0qdKFdin uqbcvQg3gw5dEsFtO/tv+zUPbf76fN0Xd+WIdO2tZWQV+cPBuKHwpaS0iqoIazyjb0WC 0VZo8VziYEC6cUStvp9KOD1OLo0QqjVFLoqT/QcWYj/HyXpaO7wUMO/DhvkzYkOkf+Q8 50J2vA7dD1LC81Uhbyha05eeIKaAFh7rlFdSCBn2tV5rFA3cEm13F4JrxvRfM0oeesYi BmQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qSJ3hn6SwlvnIDydC8UlMXM4TqY2oPyCDRxRi3ibWKE=; b=ORAJKTnETHrUuw3d3ra7iS1FKS9LPliZoidWr3y6UhE0IAfKj96kv9SM4XO+pooW3N mD8jA8fumAY0EhgpMFPKeqGGcasi6W4NBmyhHnHCTnomon/CFTts/nr1629WQ3Ys1VYH epJMNwrJbiJ9k7nDUioJkzmug6Zf8tWLWAnzyeJMOzo7GQRv2FEtiTnPff/lQbnApw5U eRLkz30JvJLOhvH1lUBsBWfRiRXrVqj9BlK4NUBUnpZ7Wp+CMuFi1pqOAYaGvtvTabk7 s2JaqN50U2i+UNORYD6KcCqbLykvFZykXm70U39WBzDnpX7+N1HnFS8nChRgQwUOIXeI +bMQ== X-Gm-Message-State: AOAM531vHXLrTZ+OAJHIYloD7nxhzNrF1riC7Npe8RxV7YnTZrSsjOct pFc25t396vqQhK5TyNu4nAmRMOXGsLQ72nI5vYvDMg== X-Received: by 2002:a17:906:a085:: with SMTP id q5mr7825181ejy.136.1598313933985; Mon, 24 Aug 2020 17:05:33 -0700 (PDT) MIME-Version: 1.0 References: <20200819224030.1615203-1-haoluo@google.com> <20200819224030.1615203-2-haoluo@google.com> <35519fec-754c-0a17-4f01-9d6e39a8a7e8@fb.com> In-Reply-To: <35519fec-754c-0a17-4f01-9d6e39a8a7e8@fb.com> From: Hao Luo Date: Mon, 24 Aug 2020 17:05:22 -0700 Message-ID: Subject: Re: [PATCH bpf-next v1 1/8] bpf: Introduce pseudo_btf_id To: Yonghong Song Cc: Networking , bpf , open list , "open list:KERNEL SELFTEST FRAMEWORK" , Shuah Khan , Alexei Starovoitov , Andrii Nakryiko , Daniel Borkmann , Martin KaFai Lau , Song Liu , John Fastabend , KP Singh , Quentin Monnet , Steven Rostedt , Ingo Molnar , Andrey Ignatov , Jakub Sitnicki Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Yonghong, An update on this thread. I successfully reproduced this issue on a 8.2.0 gcc compiler, It looks like gcc 4.9 did not have this issue. I was also using clang which did not show this bug. It seems having a DW_AT_specification that refers to another DW_TAG_variable isn't handled in pahole. I have a (maybe hacky) pahole patch as fix and let me clean it up and post for review soon. Hao