Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1355056pxb; Wed, 10 Feb 2021 06:40:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJyos6fKD0Y0xNfxOZhxK3a0eX5Ckt0Lo3W8hgK6BYwQYhxDx0OxGnTvjymomgQDUVp4gkiq X-Received: by 2002:a17:906:af41:: with SMTP id ly1mr3089915ejb.525.1612968030598; Wed, 10 Feb 2021 06:40:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612968030; cv=none; d=google.com; s=arc-20160816; b=VtrCa+mAtiKamE/z5WHQVGtVL6xQ6zwmnrn9E9L8F97TrbqlNREmxEJW6ElM/Q8fYy 3qRm015yYtwllIHBuvKtShRLmF7BCv/yWxNBa66RzqXloyzNodXJpk84qm4s7/taGmxw 22/njKoqJYx9J9LashR83PEu0gx7cMxf6V2Hd7mc4MdkiACn+g1s2kOz1KzDJYSV+8Wo Znr72wvJlX38Rd3LRwfAB1r3/qhBn8UlWJEEn0i4Er+QQHz6ub+Ajw9S4/qqvePBLeHO Ex7wAc2XajslBQx1dVkpKk6HdR8aYF/Rh2iompIyujCapwJ0SX+IKK7aQBX49i9bbzzv DnGA== 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=fEIvumniQogM8qhF0Q7eDLCNDEdSBSNcnJyC8r7pV5g=; b=vCwJMj0H31ML0dYxbZsXpkMgzlBBtdnVOKqJWa5a/MzYkwjqfn3qNtOS6tdTxzrabq 4nYdiacHY2O8HvFS7zW26OtCtCMTcDPmErcqwwIQHMj0q0ZbozKXnERPosGm/RZWhnad RQBARQAI+vB2WLIc7eKAjll7+bdl8IH+nrAp2mMrb6UvqedeKg6wbpau9MrqlW0islEz URiBZNG3n5gnPf5iDFJKAd7l5dl2S/h6s60KwHUi045+Prn1LqdQgmEgNeyhyo2ch79V ddD+z86PX4RI3AsGgqKZDFxRH995MkYgEzi6Ipbo00EWYNakfB7n1UUsxPsWoxvo1htl 6zvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f1si1313935ejb.502.2021.02.10.06.40.03; Wed, 10 Feb 2021 06:40:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231309AbhBJOiY convert rfc822-to-8bit (ORCPT + 99 others); Wed, 10 Feb 2021 09:38:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:39556 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230298AbhBJOiU (ORCPT ); Wed, 10 Feb 2021 09:38:20 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1A5C7614A5; Wed, 10 Feb 2021 14:37:38 +0000 (UTC) Date: Wed, 10 Feb 2021 09:37:36 -0500 From: Steven Rostedt To: Jisheng Zhang Cc: Jens Wiklander , linux-kernel@vger.kernel.org, op-tee@lists.trustedfirmware.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] tee: optee: add invoke_fn tracepoints Message-ID: <20210210093736.0b26f917@gandalf.local.home> In-Reply-To: <20210210144409.36ecdaed@xhacker.debian> References: <20210210144409.36ecdaed@xhacker.debian> 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: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 10 Feb 2021 14:44:09 +0800 Jisheng Zhang wrote: > Add tracepoints to retrieve information about the invoke_fn. This would > help to measure how many invoke_fn are triggered and how long it takes > to complete one invoke_fn call. > > Signed-off-by: Jisheng Zhang > --- > > Since v1: > - add BUILD_BUG_ON() macro usage to make sure that the size of what is being > copied, is not smaller than the amount being copied. Thank Steve. > - move optee_trace.h to keep include headers sorted From a tracing point of view: Reviewed-by: Steven Rostedt (VMware) -- Steve