From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id KP3fNmqsZmK5egIAWB0awg (envelope-from ) for ; Mon, 25 Apr 2022 10:12:58 -0400 Received: by simark.ca (Postfix, from userid 112) id DC5791E058; Mon, 25 Apr 2022 10:12:58 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=lists.lttng.org header.i=@lists.lttng.org header.a=rsa-sha256 header.s=default header.b=tpFkEUBr; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id E64A41E01D for ; Mon, 25 Apr 2022 10:12:57 -0400 (EDT) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4Kn6RY3P9RzDJV; Mon, 25 Apr 2022 10:12:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1650895977; bh=gxaeqXdDUHHXtDu0OLvQNUFIGmslr1+7kkBk7vvk93M=; h=Date:To:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=tpFkEUBrAm2XHryXCq+9DzDj6MSd9knPr06TQ3gt+jJaaI3UsUjDm9oYwvxVyn4hz R1lVoAJwTv438mrvnBF/XlHFN05nCi4wsMRtDuvDwfoAXzk3KyiIfjusBSbrgljTEC pXXDP5UInPx9K4tQ+ViXiDQYVcDx2TYE4BjoIuMj1dbnwmS47yj3ZYdckZRTGMuyuM LSWQPvx7lh5a0eg4YuTDCSthi0whLDa6l0l9RKCToQaf+eNGtKiqYPi/I6dRGUgcRB lab6cCE64VABmxfVMIcWVI4qDV0zdT5fCtl2PWDAIzle7bzLJX8FoA0zgJAz7BNYrS 8YFkheCP5TmNw== Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lists.lttng.org (Postfix) with ESMTPS id 4Kn6RX6dQ9zDJT for ; Mon, 25 Apr 2022 10:12:56 -0400 (EDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 091D0615DC; Mon, 25 Apr 2022 14:04:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0656C385A7; Mon, 25 Apr 2022 14:04:35 +0000 (UTC) Date: Mon, 25 Apr 2022 10:04:34 -0400 To: Mathieu Desnoyers Message-ID: <20220425100434.2f5d18bb@gandalf.local.home> In-Reply-To: <1622857974.11247.1649441213797.JavaMail.zimbra@efficios.com> References: <1218866473.10909.1649432186473.JavaMail.zimbra@efficios.com> <3c11308e-006a-a7e9-8482-c6b341690530@redhat.com> <1622857974.11247.1649441213797.JavaMail.zimbra@efficios.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Subject: Re: [lttng-dev] Unexport of kvm_x86_ops vs tracer modules X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Steven Rostedt via lttng-dev Reply-To: Steven Rostedt Cc: Paolo Bonzini , lttng-dev , KVM list , Sean Christopherson Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" On Fri, 8 Apr 2022 14:06:53 -0400 (EDT) Mathieu Desnoyers wrote: > > Indeed, the fact that the TP_fast_assign snippets are embedded in the > trace_event_raw_event_* symbols is an issue for LTTng. This ties those > to ftrace. Not just ftrace, perf does it too. Now another solution is to make the fast assigns available to anyone, and to allow you to simply pass in a pointer and size to have the data written into it. That is, you get the results of the TRACE_EVENT and not have to depend on internal data from the tracepoint. -- Steve _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev