Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2383766rwd; Fri, 19 May 2023 05:11:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6BEz18PH0S2iA+VtIOL56FhMVmqb/ekkVQR3lKx/WrXk6BaRk+IPKRRjsksXxFTE/YW5Pt X-Received: by 2002:a05:6a20:8e29:b0:101:281c:494 with SMTP id y41-20020a056a208e2900b00101281c0494mr2772683pzj.27.1684498299097; Fri, 19 May 2023 05:11:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684498299; cv=none; d=google.com; s=arc-20160816; b=aigjUOu3dLWgdvpxxrz8+rhin7i7rJFxqKq/iivDhnYjpQY5ZgNnycGXavVEzvTwVY hhHFI4EC4e2xq8NuC1gEMsBB3WAoYmAt2I7180Gt++/3DfLCG/EBaL8SLKfg47UQXByr 2dQjtD9NFMyUtfrCOmWdpkgz8lUHdNguJzkl2ewy+PD736LSRxsykoXQuabYygd685fE I1zU0Sn34Rp+NKanG68ci6DVh7dqEUAFvIqlEKQlmrP/cA6EMZBXEMBK7RRH1/kXvMzG 446Jz4MLxc9aNPfgI1ke0hiRu3+TJHjlQUaPbMlnN/OAggY3EWaZVOjOfZbV6frdscVx jLIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:mime-version :dkim-signature; bh=C6BBqUoJ4/4c3Znf57SydvHkRL6P0DusBuHBrxg8e2U=; b=ECFnhQ+3PnU5/MpBPHqvAwtmxci2qHFb5ylUYAyULoCoD3oOIn+2fGrR9q/mR5oo64 fjFoB2v3S5LxbeAuMsOTvqb5fX2a3w904Lkz5+QDsC9KMmMHhTPZfJYXVGfnwIv0SmL0 R+Wjm2NayjhiLNYvb6C+OdwycbHgaT9gdP79aAo/BTrk4nrGI3TKKItINYDA8piXPWu0 XVxvt+ukeatn4BolRUNfOe47gGPqVjl6u+yXgUc5hdHSDzW6yyq2RO/vhx6jKBVVD2rd eenLY5uQGQ2IrwIsoibDU5vWbicel6gsinKSaUyF821Y62Ljnkya6SPmLaJeQmeWY1Ak ZZ8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=KMMCbehN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t6-20020aa79466000000b0063b652ff9cdsi3906858pfq.404.2023.05.19.05.11.26; Fri, 19 May 2023 05:11:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=KMMCbehN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230224AbjESMIM (ORCPT + 99 others); Fri, 19 May 2023 08:08:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229929AbjESMIL (ORCPT ); Fri, 19 May 2023 08:08:11 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6A40128; Fri, 19 May 2023 05:08:10 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1ae452c2777so5821395ad.0; Fri, 19 May 2023 05:08:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684498090; x=1687090090; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=C6BBqUoJ4/4c3Znf57SydvHkRL6P0DusBuHBrxg8e2U=; b=KMMCbehNSm4rWRP1n7ZuJVMQa3GotzEHXSoG70C+PpyV6UhZ6EpV0iOm2U68OlHL60 HO2d/N0vweaTM1a+OpmmmrO6XRzYUOJPEXlJPPr0mMm+HVWj+VrPTCdliTDKqB9DAWl8 ytJVFixN9gjk9QDWi0BKJq809XZQ8j98Lnv681L0En2CpXMeXkVPuYZonJ1B6233qYPi 3lovK5GCqJ9kBi3Ft8uecD7WcJve3mM1+EOz0DTGkdNu94m/Am7nM/jyoJrhwQwK6dHk K+7YqjMfy1jGcAWjzpFTCX2BkHaA6l6CQI9UZiRjbFXpc5e8uMYY57JKbVLqVAwcDc/K /GbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684498090; x=1687090090; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=C6BBqUoJ4/4c3Znf57SydvHkRL6P0DusBuHBrxg8e2U=; b=ijrIyHswnb4QdbmewS93y7O6Fe80IRGE4n7WtjIO3eDzHwmmO7i2CGwXsPPEgYLoaF t+He02bQ8xT1YccGHeCsxbi6pY/hFL3gPiRwjP7ivPPcw6qPP5Cr9zakRr5ctq771GjA hToZcvngND8PEK8kd/0Us9Exgd8ujyRVyEpba9Vd8jw/OzFkYZMW7HtmAD58IZ8On47o qFKY3LbfetqkMf035UFOG+SUkqhcfPtNwyJ/v16klLkhbw44H4o/etMdlFkMAlRnUKPT 9aW6dFzBVtLX/IhuquiCmuR0fKYtMW/gf6Aq/W9wq8/kxQXUgg2ZTkB7umJjGDT5URLu 56iQ== X-Gm-Message-State: AC+VfDzMRFAjKMHgv52I8ldAGimwWNq0bwh2Q02udCEPEzx9QHzbvmU9 Rrgk870sc84bLe4dAjdb8ejc6XXweCEj+UiTehyAbkl9H8k= X-Received: by 2002:a17:903:2343:b0:1ae:35b8:d5ae with SMTP id c3-20020a170903234300b001ae35b8d5aemr2842877plh.19.1684498089812; Fri, 19 May 2023 05:08:09 -0700 (PDT) MIME-Version: 1.0 From: Zhouyi Zhou Date: Fri, 19 May 2023 20:07:58 +0800 Message-ID: Subject: a small question about bpftool struct_ops To: bpf@vger.kernel.org, linux-kernel Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Dear developers: I compiled bpftool and bpf tests in mainline (2d1bcbc6cd70), but when I invoke: bpftool struct_ops register bpf_cubic.bpf.o the command line fail with: libbpf: struct_ops init_kern: struct tcp_congestion_ops data is not found in struct bpf_struct_ops_tcp_congestion_ops libbpf: failed to load object 'bpf_cubic.bpf.o' The host OS I used to compile the kernel and bpf is Ubuntu 23.04, the guest OS that I run bpftool is Ubuntu 22.04. I have stumbled on this for several days, could you help me by guidance my way? Thanks in advance Zhouyi