Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4443479pxb; Tue, 10 Nov 2020 17:08:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6X9wNdRAmJDaSPjch8LwE8S/T0smB256S/lelIOLwOKRrKjYMeBY/424l+yfGva51vL4T X-Received: by 2002:a17:906:7096:: with SMTP id b22mr23957131ejk.335.1605056925300; Tue, 10 Nov 2020 17:08:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1605056925; cv=pass; d=google.com; s=arc-20160816; b=Tp+Wb6R/1nM1RC8UCjGbYMTjGLhfuLB9LPQWSRfkKzCW5ak+He0dIjzufz3fIQ0pnx nY0uQW5C062GqWRemMTIKVcj1WIVH6yDx5cwQixHyyouuXxCPGdBt0aSohH2q3TZ9w2p GSUDE0jk56IamO4JV88sZ+STfljyN9XhQ2WdvC0pie9nkThn66FKbf3SIcXT3VBz4fWp 9AFHuf1DQ4EoAS+74EIenKTp08JUoOJuAw8FfPy3suskVe0QRyZx8tF3arxTBdEmbNsv xuGUfH4LArCp4GjSh8YglOm+oSPkxqVNahPD/aAXTCwDd84XyxXzcBCLZt5WWIg6bQat MCFQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=8t4tps61ndG+dgKwK5vAAQ4K0ctTtlAF8SAj6bNQffk=; b=NqK9tnGKvh7tIs6qKcXWXnX/jmLHXWmmuNuyun+yw79/PznwlQhMTR1rKTOsH2crah hdBzBAwsMfq+nQFa+AqiCZBMbHoz0PGPizoN5Ncy1Ye5sZ2fzketAvTFL7d4vcd2yUC1 auElC20dIf6lUEzoR6L4vpmJlvmMd2WC2I9897QFN5UvUCZpWWy/b0GHIIA/dHHJoMIk QpDaqdFd01V6clKRjyrqdAYGi5Zw4VW/FCIMc3MtdbKpFl6q713IFL3chKfYDwGG5SrD AZGc8lA47l0VZmIJ0kS3p292940XCc3RAZ9Mx5P+6aMyz3JwTpJrnRx8Pc4/4RCuxp9b HDLg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b="WNhT/qIb"; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=eTjkiJHW; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.com); 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=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id os24si234824ejb.272.2020.11.10.17.08.13; Tue, 10 Nov 2020 17:08:45 -0800 (PST) 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=@fb.com header.s=facebook header.b="WNhT/qIb"; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=eTjkiJHW; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.com); 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=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732483AbgKKBFr (ORCPT + 99 others); Tue, 10 Nov 2020 20:05:47 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:51764 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727275AbgKKBFr (ORCPT ); Tue, 10 Nov 2020 20:05:47 -0500 Received: from pps.filterd (m0109331.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0AB0ml4K004752; Tue, 10 Nov 2020 17:05:27 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=8t4tps61ndG+dgKwK5vAAQ4K0ctTtlAF8SAj6bNQffk=; b=WNhT/qIbBqIfG+Jl9hPuL4XTiqWiO5rVthXXHtyjafkMQRyVBVfZylfsUE0HyOVqbuh0 YkJVwmGPo+21JA29BfJRaQFlEjJ/kRTpa8qKfs48jmiElKoGy5Sa+WvanNVIfZ8eb9/8 t8lFbEfiIWeH48b5lqlu7t4yYPtWI9rP35k= Received: from mail.thefacebook.com ([163.114.132.120]) by mx0a-00082601.pphosted.com with ESMTP id 34r2au94kw-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 10 Nov 2020 17:05:27 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (100.104.98.9) by o365-in.thefacebook.com (100.104.94.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Tue, 10 Nov 2020 17:04:54 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gGtp3uXfLUax0oEU3krbhGkqckoBrRK3tQkpZOdAuqI0nHqxzEEYEIGjL+Q0Is/O1Nlq22ExWWrhnh6x+k6z51u5hQqiaHhMHZ0yAEJDUAy74uN5s0L/0r+seruEIvSt7ctbNp4+h/RYyevmneYjc+1xq8IhZfDB10MISXojEFmnOaTBWLL3oHtO+5TCyrUVpRI/1poKN4Od00QROYoSU/OCG3uHb9p6V+Dku4zLu2VmRpc1XgvrUrhQ8gaRaVLDpo/fTpGluhi+qaGj6zxFLHf5JmFL+EzUdTmdTUJT7huq4hHcsQCPTlJvVBukBUSZ3hTY6tVhp/KJ9ehqzIqOWw== 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-SenderADCheck; bh=8t4tps61ndG+dgKwK5vAAQ4K0ctTtlAF8SAj6bNQffk=; b=glyDuZlGucO9R5WTDLugd4jbziWbnJuDkNZJypUYgUceMvBQfqmvJq0iWnzPIwWFEex7h2bZZ3/CLQ6HYmCVDNH06+wRyAhNecguSP4OjEiXux10ujH8KSwSeVM5K8WTtHuGHGpzomKU3ecBr9Th5L3BlJQmaGrbTZ+/41jKJOqHKk7jEK0vQv564h9Lz+Tou7K36imJYl/FCqlDsY9xxzYIXXUWO+1ZWjArJFoU0PeSAyKKLc4gtaCdH+b2odnhCCFB9zhjZmmO+es4j/SWV2FJG3YYDrFOl7QYrfziHWR5gWbXoyC1OrGwQzvydQVH6RTHQhN5qHzeVrdK15SabA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fb.com; dmarc=pass action=none header.from=fb.com; dkim=pass header.d=fb.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector2-fb-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8t4tps61ndG+dgKwK5vAAQ4K0ctTtlAF8SAj6bNQffk=; b=eTjkiJHWfscENw2R2BPdYxYPjoNqEg95cz29Ryw4ZHb7IuEgS/OSm4LqmhV94JcLL+dp7OhKVcBiD9Vckxc98cUAkXumUraWRsM5+OmudapAXVy0P5yHTDIOji9tz0+nDp+w6Y5PYvgljxoSAtcmGSofgnFZcLihiFXotcIPkdc= Received: from BYAPR15MB2999.namprd15.prod.outlook.com (2603:10b6:a03:fa::12) by BYAPR15MB3047.namprd15.prod.outlook.com (2603:10b6:a03:f8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.24; Wed, 11 Nov 2020 01:04:53 +0000 Received: from BYAPR15MB2999.namprd15.prod.outlook.com ([fe80::f49e:bdbb:8cd7:bf6b]) by BYAPR15MB2999.namprd15.prod.outlook.com ([fe80::f49e:bdbb:8cd7:bf6b%7]) with mapi id 15.20.3541.025; Wed, 11 Nov 2020 01:04:53 +0000 From: Song Liu To: Andrii Nakryiko CC: bpf , Networking , "Alexei Starovoitov" , Daniel Borkmann , Kernel Team , open list , "rafael@kernel.org" , "jeyu@kernel.org" , Arnaldo Carvalho de Melo , Greg Kroah-Hartman , Masahiro Yamada Subject: Re: [PATCH v4 bpf-next 3/5] kbuild: build kernel module BTFs if BTF is enabled and pahole supports it Thread-Topic: [PATCH v4 bpf-next 3/5] kbuild: build kernel module BTFs if BTF is enabled and pahole supports it Thread-Index: AQHWtwBl0rtpue6+O0iiiyvLLCxW2anCH1EA Date: Wed, 11 Nov 2020 01:04:53 +0000 Message-ID: References: <20201110011932.3201430-1-andrii@kernel.org> <20201110011932.3201430-4-andrii@kernel.org> In-Reply-To: <20201110011932.3201430-4-andrii@kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3608.120.23.2.4) authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=fb.com; x-originating-ip: [2620:10d:c090:400::5:1f7d] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a32ac7cf-8e1b-415a-a893-08d885ddcc45 x-ms-traffictypediagnostic: BYAPR15MB3047: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-fb-source: Internal x-ms-oob-tlc-oobclassifiers: OLM:118; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YXOOZE1ao8Eb50jh7qbD+6mVH3lYmZdPCtvhI2jMwGWYlGnDV65clTdf6/mXu5S+2YWeUuZw1kVZJ74JxGDrCyK7J3kSpK7DecXNtmwmRL6sbRsBd/naveF4ICnoq1hO7kUZnb1CZW6bYEFQ2yS77Gn7qo/kmwgDj4zA/lzBLZzGA38H1qYPNAOJxR5eR+PT2Lh7/lT/Jsi2w3s0u58OQwz6o3cJyoqhiKWP+8yuld/OrfHfyRuRmGYU9QUV7cGhsV+FLgOUeEDFGMVGsPxPd3vWI4xQHMxMZnv4uJHwf+8ctZrjI6djLdJ7kZqGXSDX x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR15MB2999.namprd15.prod.outlook.com;PTR:;CAT:NONE;SFS:(376002)(346002)(396003)(136003)(366004)(39860400002)(6916009)(7416002)(36756003)(186003)(2616005)(53546011)(2906002)(33656002)(71200400001)(66446008)(478600001)(54906003)(6512007)(5660300002)(86362001)(66476007)(64756008)(76116006)(8936002)(6506007)(316002)(91956017)(4326008)(66556008)(8676002)(6486002)(4744005)(66946007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: ds6BQpmWqN6/27K23wcQrON3e6QJYLNerXUi40DY00PSUgli1aC+XtSmRf50l5U5WjrE2URMqMJM1+tWrVLDsD3nVf+HjKRSAZ0R+TA//0NEWXPFiqDeilcsVUfk7+XSUH+cSmUZbeGGJb5sVoKeCdp5p/97t4Gh7kjvJS3jm2gzaaZGSNeHuPTqA1Yq2QKkqY3ONpo+IFQHmwhd1l2DKGP3Uw04C8eTHUpjoscdibUb1bqGwOVwdOn/2cIlYdFivLh07voCnIG29SKAmXi3XIgJL7+EaOyFnjkmii+h2/6FOhy0vW7B8GMUuQliT5UcBZSAbbCnIq7P1Cr5lN7rLyVMvKC5bfqU8l/4f46DKx3oLXDobCYK9zLGrl9pYcFmTpyVh68Sl2p18vKY4slrGbnfa5ePVtRTAjvyRsW1k7nyv7yJd9UemOGq3GHfwOAFoSApNFoc65lcz+EgSm2yaobIBaqg4neKPp7fKFGhheM/ozBhwOugHe+5YdCef7JUE3GPNIkhpZI2LID38OprKFdjdp0vkT6bQmpHz1sFG22pqDbQFxwmSB1gDUge7t0/pCMpCQ3zMT80kwFc0BkxhqM9ODbexrkKeSadxACSEwq7LsT9sRNIy2zI/iihD92DLEz6kDZ1XbhkP+BS2h566+ggf+XlDWA24hf/JcjYHj2xSkLtDIQK6TC3T1IVvnvhSSbL1ByFMjcpZuh14HRg/SWM3zJQQK6VG2kUNkKimcSETN7MxE9y0/CJ3NNdP/DCcEblxYGZGapubYvkqqBYve7XuUWPKkdq+I2/RTqDx4mrVulX8YSdnHsAkB77TU2YpDUlrpwKpMZS1FdtC0Z16wrqbK4aCRk4jzdmis/FtD5bY+8AZ9/emo+rFT7rLPUnY0REyvjxTBxvqnrProK0fB4Gqf76IHRBGqc8TTVdXgU= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR15MB2999.namprd15.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a32ac7cf-8e1b-415a-a893-08d885ddcc45 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2020 01:04:53.3779 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6qynP8IRSmmaXrlpI9vHVYGPmBKFt9NkcXlD4apc3lf8asD3DLqDFE2PHEbtXCHnLHIuws01PH3ZA9tyjVZtMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB3047 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-10_09:2020-11-10,2020-11-10 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 spamscore=0 bulkscore=0 malwarescore=0 phishscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 suspectscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011110002 X-FB-Internal: deliver Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Nov 9, 2020, at 5:19 PM, Andrii Nakryiko wrote: [...] > SPLIT BTF > =3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > $ for f in $(find . -name '*.ko'); do size -A -d $f | grep BTF | awk '{pr= int $2}'; done | awk '{ s +=3D $1 } END { print s }' > 5194047 >=20 > $ for f in $(find . -name '*.ko'); do printf "%s %d\n" $f $(size -A -d $f= | grep BTF | awk '{print $2}'); done | sort -nr -k2 | head -n10 > ./drivers/gpu/drm/i915/i915.ko 293206 > ./drivers/gpu/drm/radeon/radeon.ko 282103 > ./fs/xfs/xfs.ko 222150 > ./drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko 198503 > ./drivers/infiniband/hw/mlx5/mlx5_ib.ko 198356 > ./drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko 113444 > ./fs/cifs/cifs.ko 109379 > ./arch/x86/kvm/kvm.ko 100225 > ./drivers/gpu/drm/drm.ko 94827 > ./drivers/infiniband/core/ib_core.ko 91188 >=20 > Cc: Masahiro Yamada > Signed-off-by: Andrii Nakryiko Acked-by: Song Liu =