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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BC0DC43334 for ; Fri, 24 Jun 2022 00:01:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230496AbiFXAB3 (ORCPT ); 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 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