Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3274584pxp; Tue, 8 Mar 2022 10:51:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFUCluWXbWH7xBh+ELrt6+6atMBefl/yi96W+MVw9QKcT4qk15MHkP6BSmqmK6L8KGnDyB X-Received: by 2002:a17:907:d06:b0:6da:2902:e9ad with SMTP id gn6-20020a1709070d0600b006da2902e9admr14900742ejc.566.1646765514821; Tue, 08 Mar 2022 10:51:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646765514; cv=none; d=google.com; s=arc-20160816; b=KU35xou25bJfvy3wVG/a5iBEAS4lXvA6YDzBYKWuLfBujpRS8uF7LysFQ5etEpeePt 3h7vWTyBUDbgWG7ETuFJpBryZS5nG+SyRNo3Gf+KmxwTKcWuztvVnIRIoSjS7dOCuK62 hOKh9JOiks06pj+OxhUikNrtof4nGG9OBnXOfO7ih6zJ+RxadWpp7QHmek5UmSgqy4Rb vhkydSg0nHKSbB0VYCv0e0adAti6WYfcnfaBKd5IdNUDM+5woWW+g/E8j9C6Qzw0ruJ+ pq13RCN9S4o08zOBjB/8yitPQko2TXdqSFfT4lLdErgogJDt5Xs7hP2Y7y8KKPT9DXss /S9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=U9FUzAZMnf6VpxPtQM8a5lPUpj52uUTJiKNkJ/2hPr4=; b=vmMBF4NL1tWiBtL6y9juz6TdJWyesER/6VgHn2PXcKENzOh4pjITxf2yZfhTSNPrqI YFHokDLh+TlTM6Kgv2P14/HxVb+vOu13oyK4XNTU9/HngBFu1AqkC1VtMp3ry90x2eoI O5+zryHyT2J3O4OlnCO2/NVkq3x3P+upJ9Ude93jwd0mAaxsbfZ3UOG2Dwk/it1+ZHXz zBVoXbbjcPONOhq3ccH75T51FpVWJr3nAOGYNYKFdB7N+ZbsRwO+rMH0dbUbEQGlhHAa 1VnUg/8N/lgQ7q9W7NOUMk62fP8RVfURpd9CP76ubVamFreGjMuhvV4TPAXrWOckqJeV 1IsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XcNDlXxB; 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 e9-20020a170906c00900b006d115e70aeesi10207236ejz.322.2022.03.08.10.51.30; Tue, 08 Mar 2022 10:51:54 -0800 (PST) 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=20210112 header.b=XcNDlXxB; 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 S1349254AbiCHRta (ORCPT + 99 others); Tue, 8 Mar 2022 12:49:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348465AbiCHRt3 (ORCPT ); Tue, 8 Mar 2022 12:49:29 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38E2247AFA for ; Tue, 8 Mar 2022 09:48:32 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id dr20so40867814ejc.6 for ; Tue, 08 Mar 2022 09:48:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=U9FUzAZMnf6VpxPtQM8a5lPUpj52uUTJiKNkJ/2hPr4=; b=XcNDlXxBicKMqe70X9jiAWRU5iXvjGl6wJK7VEhnopHa1RAX9ggRATd4ACVxaThzbX pVPSHgyt3R1MA7ai0Lm1wMQC1jrcROIL6xAlWSPN9B5beLSTgc22jR54W+Vt/RlKvOAM TUUhGn8XtNkYO7TIHS4+ndvv0bjRexx2VFtGF8phLmrh75Usj1WQtyqqkRc2ZNkToAJF dK1xsk6YMBURbu87riQr0fAmc2FXMscUN5Vs38YSFdu2oszcRC9JU2EUNGWxl9msoaxb OxVU/7ST11QZAA116K/7x/Q9ugVPzW5tDX04V4zvF4cPeMEcXQT56zucZanwWOYF50N1 wJZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=U9FUzAZMnf6VpxPtQM8a5lPUpj52uUTJiKNkJ/2hPr4=; b=zsRgAIp8Vhnxgp206l5+UtlcDrsum66CBm2a9OuWVgi+4uWrP7hSPDisuq/mKd8d3h ziCtiSVHTrpLOyt/8joe+VRBrWIG+tN29F0wE9+5WPLwBOvUNney1qLyFNT/vDLxXXfZ Rs0BvwWFvsimWJLOBqNlaiESkpctIcMhNmDCm7nEM4R+ZRl4X2OttGYLN0VakaP2Ob8I fWOUL/u0PEJ+ffy+4ARkH2jLnjHamsYG/zopk3O49PLg1nMtc6dKAJ++9/zzbwAVDm5h EzBt3hkYrByIwpT2MJRr87wDoXGmfzg+vSWgPs9mtFmGLgvWEE3eNjLnsMpo/DR6sUZo 9Vrg== X-Gm-Message-State: AOAM532zfHNAG4nrvf0ihg+LGwMEMeC//8YJF90t0gzAKd2va01MWFa2 cAZnZ4OPx+3eF9Xl0zjDsPMyLzcwyIf8cA== X-Received: by 2002:a17:906:3cea:b0:6da:ea45:ea9e with SMTP id d10-20020a1709063cea00b006daea45ea9emr14225027ejh.574.1646761710479; Tue, 08 Mar 2022 09:48:30 -0800 (PST) Received: from pswork ([62.96.250.75]) by smtp.gmail.com with ESMTPSA id u5-20020a170906b10500b006ce6fa4f510sm6091327ejy.165.2022.03.08.09.48.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 09:48:30 -0800 (PST) Date: Tue, 8 Mar 2022 18:48:29 +0100 From: Padmanabha Srinivasaiah To: Masami Hiramatsu Cc: rostedt@goodmis.org, linux-kernel@vger.kernel.org Subject: Re: tracing : bootconfig : Early boot config for non intrd systems Message-ID: <20220308174829.GA2471@pswork> References: <20220307184011.GA2570@pswork> <20220308163600.3109f19854c7b051924f262b@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220308163600.3109f19854c7b051924f262b@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) 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 Hello Masami Hiramatsu, On Tue, Mar 08, 2022 at 04:36:00PM +0900, Masami Hiramatsu wrote: > Hello Padmanabha, > > On Mon, 7 Mar 2022 19:40:11 +0100 > Padmanabha Srinivasaiah wrote: > > > Hello Masami Hiramatsu, > > > > Thanks for detailed explanation on boot time tracing using early boot configuration file. > > https://linuxfoundation.org/wp-content/uploads/boottrace-LF-live-2021-update.pdf > > > > Also for https://lwn.net/Articles/806002/. > > > > Latter link also states we can embed boot config into the kernel image for non intrd based system. > > Ah, that was an original plan, but since no one interested in, I didn't implement it. > So we still need the initrd for bootconfig. > Ok. > > > > I tried searching mailing lists not able to find pointer for same. > > > > A hint/pointer on how-to will be very helpful. > > BTW, what is your problem, could you share your use-case? > I have hetrogenous system which donot use intrd. The use-case is to capture __system wide__ event based tracing for boot-up sequence, which also covers early stage of default init programs used. As buffer size is limited, will have hand-picked events set configured. Thanks, Padmanabha.S > Thank you, > > > > > Thanks and Regards, > > Padmanabha.S > > > > > -- > Masami Hiramatsu