Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp480222pxb; Mon, 25 Oct 2021 12:03:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGUcTalhjqSLMicZ17MZcrEt+BntTK9qrruaisGpZx3ta5DyFM9Ux2gjfRwxP1U1GXnmNl X-Received: by 2002:a63:a80f:: with SMTP id o15mr15219286pgf.249.1635188625179; Mon, 25 Oct 2021 12:03:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635188625; cv=none; d=google.com; s=arc-20160816; b=0tc8vAvQ30+RwcH2DygMHcUb8D7IpelTtZVJO8UIop2Lq5mWXdUYdiDRTL4/giBgnQ 0xukIuebuBG/BB1zHZH19Nq+JbMd1+yGUERz2X7NUUe7volh0LcLw9cC6Ak6hkoGlIyN 2M+u+W3zm8ksvrfMCfwaM1DU51Hsu2bHUj9ZjM7GItBkQy/eyDUVb79d5RFB2XtSvVNt ABm9X3I1FIm9L298nQ9B1wWT7xBujrDBjsiJfasxC1f37EfepZTcRftMlEEkiTIoCt0I VcAQLa8jtVPwnMFRdPul1x//80+ABq9LqCiMdVpZVCUGNZ1aW4dZQ7pyv4G1+16ahzUQ F+Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=V71EgBMaJsaEcdf4FuS0x3Nuc7Da5mG4MUkeQ3Vmy9w=; b=SbAPo6zgum4P+h96EuJKH4HKWUtRsM0RuiKZ92lHOm36dI3VZ7ZR5mHdw0x+BWnQo7 ckPI+hob4n8T+4GUBJeUzHytTWPbiiS1av6EYqO0cnmMdUuc2zb5/BdmKrf1PB6tg2rv jcGtx+0TPbOgE1973/DuOVKynKpSNhUZpAGkwPHHF3ocpccCvehBBZ/W0prCcdClmE99 rw5KLvpiXGQIFIS+5X6p34XhZdVEs5itejw5l14tdHEKz+jftvzja/Hbj2e4Oq9mJrrj F2m/EdJrln9lP2eRnynAZxHO9j4Xjz9o6qfumo6q8/v9gxReDOwN9gzzM1El6yZk4Qam FdIQ== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kb11si4743357pjb.167.2021.10.25.12.03.26; Mon, 25 Oct 2021 12:03:45 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233738AbhJYPC2 (ORCPT + 99 others); Mon, 25 Oct 2021 11:02:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:47964 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233735AbhJYPC0 (ORCPT ); Mon, 25 Oct 2021 11:02:26 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2851360E05; Mon, 25 Oct 2021 15:00:04 +0000 (UTC) Date: Mon, 25 Oct 2021 11:00:02 -0400 From: Steven Rostedt To: Yinan Liu Cc: mark-pk.tsai@mediatek.com, peterz@infradead.org, mingo@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] scripts: ftrace - move the sort-processing in ftrace_init to compile time Message-ID: <20211025110002.1f109a9f@gandalf.local.home> In-Reply-To: References: <20210911135043.16014-1-yinan@linux.alibaba.com> <20210911135043.16014-2-yinan@linux.alibaba.com> <20210911095937.5a298619@rorschach.local.home> <0b783c9e-c129-6907-0637-5c7638158a65@linux.alibaba.com> <20211008194821.3b6a18a4@oasis.local.home> <1d069626-1aed-6244-b932-7853e832eb70@linux.alibaba.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 25 Oct 2021 21:20:47 +0800 Yinan Liu wrote: > At present, it seems that the processing of compile-time sorting is only > suitable for vmlinux but not suitable for modules. Please review the > code of mcount sorting in vmlinux, thank you. Agreed that only the vmlinux compile time sorting makes sense, and leave the sorting of modules to the module load time. I'll see if I can review your patches this week. -- Steve