From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB979C433DB for ; Mon, 29 Mar 2021 16:07:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A35DD61982 for ; Mon, 29 Mar 2021 16:07:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229628AbhC2QGs (ORCPT ); Mon, 29 Mar 2021 12:06:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230509AbhC2QGo (ORCPT ); Mon, 29 Mar 2021 12:06:44 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 180C1C061756 for ; Mon, 29 Mar 2021 09:06:39 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id b83so19210265lfd.11 for ; Mon, 29 Mar 2021 09:06:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=o1jWAdRSwYi7T17YmKUQ+ZmNxlISmA9ZSzxUAVBNgG0=; b=CcO2yVkDv4E60vi+zJoVkDsLszyxYZ5B6RGGwg/XuiRq5KFy5YxGKItfgi037gCRcU HV7pGaOanQXOhzHbRSxBmSRmKcMsae8z8jRAV4T7m0gb54107/1pwnHZdhjzRiRLXqJt 4CRuZhepSSpkwVN/fyrKFh9edQh3kUHFuS2fk= 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=o1jWAdRSwYi7T17YmKUQ+ZmNxlISmA9ZSzxUAVBNgG0=; b=dla25ojoabJrT2rI4hgYUnmwwLQeqsk/cSluC2zVow7PdYTZOp9TaGX5nQkYAfkhQA e7Y7Uf3xdP5Sr6m24vkJ0RPsqMeQ/B3rgc5Pcaef2R+UgrAOXrN1HOHZ0R4Cflyamh3O /oKIwCVE590YIErWC5TzrCeS1eg+8zlS33MkMK02FaULil7gVrF9x9bWfMMy1MbTIfm0 /y0GhTtq6e8jr1DRUamnn1H9rXTetIzqaFXsKXxu7zj13qifGmk8ShbaJO9ltKS8dPyk mZO/e6lU8lNVEoGl3XXWdMGyR7s7/Mo9VlpaeetGmFhysB9kcz/+TPASqIXYH+LjLmYj lU9A== X-Gm-Message-State: AOAM532arIlDPwWPP5+/CP89ePBkWTUOUCP/wycO5qROBACPQZSUIUaO 7xYWTEdXsvj5O8PvDTdNIOYwgZLgmKYaC3/RYqG2jA== X-Google-Smtp-Source: ABdhPJw9ppCW/DUnzfABsOFfvTHpEZ+hh9wpKoY1A7i6YG5uZjGrL9U6isYcmqSkaOOg78/1dhDImWtEI0TD4tghWd8= X-Received: by 2002:a19:4347:: with SMTP id m7mr6049998lfj.13.1617033997527; Mon, 29 Mar 2021 09:06:37 -0700 (PDT) MIME-Version: 1.0 References: <20210325015124.1543397-1-kafai@fb.com> <20210329012437.somtubekt2dqzz3x@kafai-mbp.dhcp.thefacebook.com> In-Reply-To: <20210329012437.somtubekt2dqzz3x@kafai-mbp.dhcp.thefacebook.com> From: Lorenz Bauer Date: Mon, 29 Mar 2021 17:06:26 +0100 Message-ID: Subject: Re: [PATCH v2 bpf-next 00/14] bpf: Support calling kernel function To: Martin KaFai Lau Cc: Cong Wang , Alexei Starovoitov , bpf , Alexei Starovoitov , Daniel Borkmann , kernel-team , Linux Kernel Network Developers Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Mon, 29 Mar 2021 at 02:25, Martin KaFai Lau wrote: > > > > > > > > > # pahole --version > > > > v1.17 > > > > > > That is the most likely reason. > > > In lib/Kconfig.debug > > > we have pahole >= 1.19 requirement for BTF in modules. > > > Though your config has CUBIC=y I suspect something odd goes on. > > > Could you please try the latest pahole 1.20 ? > > > > Sure, I will give it a try tomorrow, I am not in control of the CI I ran. > Could you also check the CONFIG_DYNAMIC_FTRACE and also try 'y' if it > is not set? I hit the same problem on newer pahole: $ pahole --version v1.20 CONFIG_DYNAMIC_FTRACE=y resolves the issue. -- Lorenz Bauer | Systems Engineer 6th Floor, County Hall/The Riverside Building, SE1 7PB, UK www.cloudflare.com