Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6340338iog; Thu, 23 Jun 2022 17:15:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uJoQKcmMmlLdiJAcvR2iBdiPR9unY8/Yjn6RTp2/Ni0RTEyf+vYxqBGvGUi4n1H4UrXDjz X-Received: by 2002:a17:902:8644:b0:168:fe0e:f92d with SMTP id y4-20020a170902864400b00168fe0ef92dmr41709156plt.23.1656029743930; Thu, 23 Jun 2022 17:15:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656029743; cv=none; d=google.com; s=arc-20160816; b=ZqIDE0gW2v6NhPTc+Pz+NMnW5KkJVqi6S/N/7R/WcMI9fmkux3SBg+x4jEau9aWi6e nKYVm6bMI4uizxMjGrIb1qUzDq3HuFg7giD9/WJtfQzPYPWs96pE5uGiIs/rXZLu2RHn wl558TnQeW0+i2ippPlOAKpWrsC0wMwI6lCNohbSe5F6jUDxkUmTYRAb+cv2bA1yJP4J L4L6baJpEyHUAB3IPCLhu7eOm9ZjNfZXiuU170etvyDUbNJ2H+rnn7DKolkz8d2x2KD9 M6BKUJAyhMED8iqXO5VO4yCxn+fPnHNXRVv+V3YlMVpSJDAkhulrwCseJJBDMr7632ZG CvOg== 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=uitaIGB275EqqQ2ZHh3aGUWIGlOIVj1GZgJ34HzvFd8=; b=N93FfOgkAzFFRmklcltiQOGMqkDv+GDVcpudRId1wC/eF59y7ejmExUyPNB4sOI9US QDIXcZwe3gUhBw+esw8FhaSDbaXtnhagehaaG7HEFkFRTF+rjEY/ZkuTZYVwFKqzqv9+ GoKu4/DF5EenUppOpBvVLnUiR6oFA6BXz63MHKcO0Um4GkW9OIVYzoojE7kvwlm1Rd6R nI9M2SjzKN1ogZmb8jcFG9eEjWtRgwlrk1++C3IrSghgrchzmgrBWsYm17qgTLYX+VwX dypviCUh/RnHbr+fMquV6+e5aotFEnxMNW51kULylIM5gWMN76x9K8vAqgQylRnVXbnK XB2w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 80-20020a630553000000b0040d1569b65fsi620377pgf.842.2022.06.23.17.15.29; Thu, 23 Jun 2022 17:15:43 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230267AbiFXAB3 (ORCPT + 99 others); Thu, 23 Jun 2022 20:01:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbiFXAB2 (ORCPT ); Thu, 23 Jun 2022 20:01:28 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EBEC52E4A for ; Thu, 23 Jun 2022 17:01:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 09446B825E9 for ; Fri, 24 Jun 2022 00:01:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9571C3411D; Fri, 24 Jun 2022 00:01:22 +0000 (UTC) Date: Thu, 23 Jun 2022 20:01:20 -0400 From: Steven Rostedt To: Mark Rutland Cc: Peter Zijlstra , x86@kernel.org, linux-kernel@vger.kernel.org, Josh Poimboeuf , christophe.leroy@csgroup.eu, naveen.n.rao@linux.vnet.ibm.com, mbenes@suse.cz, Nathan Chancellor , Nick Desaulniers , Ard Biesheuvel Subject: Re: [RFC][PATCH] ftrace,objtool: PC32 based __mcount_loc Message-ID: <20220623200120.02e8ef43@rorschach.local.home> In-Reply-To: References: <20220622105436.775ccf7f@rorschach.local.home> 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 X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,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 On Thu, 23 Jun 2022 15:21:30 +0100 Mark Rutland wrote: > I don't think that helps? I'm on about the size of the kernel "Image" file, not > the runtime memory footprint. > > ... unless you mean doing that at compiler time? Oh, when Peter said: "This saves, on an x86_64-defconfig + FTRACE, 23975*4 ~= 94K of permanent storage." I was thinking of "storage in memory". I wasn't thinking of disk space on the host machine. But sure, this is fine with me. I'll have to take a deeper look at the patch though. -- Steve