Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2883839rdb; Wed, 4 Oct 2023 14:51:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFW+SzxsAMcMqRw1nngsoPjYHXoEeam/YI3ooQSRt1I9s71QLqv8vgoBTkw68FVUVfIabZ9 X-Received: by 2002:a05:6358:7246:b0:14a:e8af:1279 with SMTP id i6-20020a056358724600b0014ae8af1279mr3241642rwa.10.1696456292285; Wed, 04 Oct 2023 14:51:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696456292; cv=none; d=google.com; s=arc-20160816; b=WosiIUy4ajttdwHrqpKmuPWFTFJdZLQl3plspihQD7v+XCmD/0gcdICIXLqwyACo5r +oatt4btlaYghhWJsJCM5uZ8YAjg+CjMpHfWLYmUGE6tMu4WBl98EPzDmuqhl13ZX1Dc 6xzrkAHOyDywiQ3A279PCijZOWy6QY0wH9qcmzti7GgAUQml6w093ze09DOaksrKMc43 huwsd96L+AWFzZfRDFLBxSWljuow1fRwweGnU2GQ9m2QULpLJOQtgZKWd1eGqBpkRlAn D8nrYOJT2OPM156Jwm0dsbWH0miXRBdvm3rvncjFTAAXc6+6nXy56Dziz9l2tTa8BeH9 /3rw== 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=6g6HRG/amDNqFAEZdyhJXSewIuJo52BA8ZG+DK6ZHCs=; fh=qLdLhITbmlYLFLpViD7QTT4xxCseCjtAQKwYAks3RRw=; b=LhnU/VIs7CI1BMM8j0zLtWSMA4Q8gG+UsaHu5rDxg0VXuAoji7MOAUkJMaIUMMOwJR 1rVUBo03KwrgxlMR9Bk21qXe3TDUFcB9D4qMz5umi6q9vl6kuPtCSd3JiD1KWLLXUx8B KTNkG84YywrMSayclmM0BcLY4Urtv1ax7GCJnj9HPCHUFL8wUTkljgMi1NxhOeXH7fQ2 k0bTwy5O2+GIHtWxMpTS1uyRMZEeaycZlGkBiWAfUywcU2VUa1o7bQKFS3zpOscicyaM BqaJlSassDJ55KE2HiGxFdPVcqTrUHloriyhEPwc1Yv9e/dsYdD/bLo2rkEtjkm7/4Cb rUFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id x69-20020a638648000000b005859cea158fsi41442pgd.207.2023.10.04.14.51.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 14:51:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 44E4980775B9; Wed, 4 Oct 2023 14:46:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243988AbjJDVmU (ORCPT + 51 others); Wed, 4 Oct 2023 17:42:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233472AbjJDVmT (ORCPT ); Wed, 4 Oct 2023 17:42:19 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6553EC1; Wed, 4 Oct 2023 14:42:15 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B9F1C433C8; Wed, 4 Oct 2023 21:42:13 +0000 (UTC) Date: Wed, 4 Oct 2023 17:43:21 -0400 From: Steven Rostedt To: Alan Maguire Cc: Jakub Kicinski , Johannes Berg , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH 0/4] tracing: improve symbolic printing Message-ID: <20231004174321.5afa2fb6@gandalf.local.home> In-Reply-To: <2f749ade-7821-00fa-ba34-e2d25cbad441@oracle.com> References: <20230921085129.261556-5-johannes@sipsolutions.net> <20231004092205.02c8eb0b@kernel.org> <20231004123524.27feeae7@gandalf.local.home> <20231004095431.1dd234e6@kernel.org> <20231004132955.0fb3893d@gandalf.local.home> <2f749ade-7821-00fa-ba34-e2d25cbad441@oracle.com> X-Mailer: Claws Mail 3.19.1 (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=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS 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-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 04 Oct 2023 14:46:30 -0700 (PDT) On Wed, 4 Oct 2023 22:35:07 +0100 Alan Maguire wrote: > One thing we've heard from some embedded folks [1] is that having > kernel BTF loadable as a separate module (rather than embedded in > vmlinux) would help, as there are size limits on vmlinux that they can > workaround by having modules on a different partition. We're hoping > to get that working soon. I was wondering if you see other issues around > BTF adoption for embedded systems that we could put on the to-do list? > Not necessarily for this particular use-case (since there are > complications with trace data as you describe), but just trying to make > sure we can remove barriers to BTF adoption where possible. I wonder how easy is it to create subsets of BTF. For one thing, in the future we want to be able to trace the arguments of all functions. That is, tracing all functions at the same time (function tracer) and getting the arguments within the trace. This would only require information about functions and their arguments, which would be very useful. Is BTF easy to break apart? That is, just generate the information needed for function arguments? Note, pretty much all functions do not pass structures by values, and this would not need to know the contents of a pointer to a structure. This would mean that structure layout information is not needed. -- Steve