Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp419692pxf; Wed, 24 Mar 2021 07:52:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZDfzdb/iDEvfJsomQ6TWcx9fo0CjOg2qoZkahfK8f/IEKkGLMEv6oV68mDKrmvbRA+7Mp X-Received: by 2002:a05:6402:1545:: with SMTP id p5mr3796636edx.155.1616597573901; Wed, 24 Mar 2021 07:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616597573; cv=none; d=google.com; s=arc-20160816; b=RuaSF9J8El+7O4eoGbVHOW0OnCxuNA/hZVPNTFe5xL5tug19ixnPKfjIukgfar0ohn 618GY33E2G40iqlGJHLE72tGT7xjZDfAbEZTaoz+3bdrNK7nrkt6YsESH1ldApFxmal1 /o5Xdelkif4eXRS/P2wyRj5/lCbvq1BjGXFxeOHg4Y8cC1+1QhxxG/xKorK83vjT/FXJ Jdv6qXMjyj0S5VdvW9e27tsHOAXMHkFahfPOqbdjepbsAdGSmQK5I7uEdpx6aR/KEtrY OUMrC6MZnO9khCSdJ6DwXJR4nQ+mOVj6GO8RafiAdgU1F2TC4e6BlI6Bu6ieE3LOuL9u /Zhw== 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:sender :dkim-signature; bh=4m05knHllxlYOiUEtm6i0GqxjXvWaxPmnC0qiaQBIXQ=; b=YCVMdcADRHXqxoSoByF2LZV6RBvfhARdu/CvWZ1cUmipcAR70GtMdZ42Io2buhlaYP uGGcM+XvFzWk52QMkhq7jkkJ0IMZ/YouEmMbHVdEZB8FSFjwn2GqSZ/pYKvJu6+gQHmV svvegg6qIkNociD/yJu+jicX+1FfS7VT6as6JFk3BhxVtR4PhaZj3pJz5D6GTVFeXhFT +Zto/Uoz8UMfNmBxvA/DoVWnw74jlpZA2kN5CpGKLPhP0c5xrVmsSCWLPiPajVYD8YPO BAWsXx0V9csinGTnClBVfde1wNPhaBHUY2TYtl/eFGweW/BZDT50N48MJ+YvtRN8+nyY +XXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uJ9gr03d; 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 w25si1750225eja.753.2021.03.24.07.52.30; Wed, 24 Mar 2021 07:52:53 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uJ9gr03d; 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 S236251AbhCXOtA (ORCPT + 99 others); Wed, 24 Mar 2021 10:49:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235922AbhCXOsz (ORCPT ); Wed, 24 Mar 2021 10:48:55 -0400 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24EBCC061763 for ; Wed, 24 Mar 2021 07:48:55 -0700 (PDT) Received: by mail-oi1-x230.google.com with SMTP id i3so21022945oik.7 for ; Wed, 24 Mar 2021 07:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4m05knHllxlYOiUEtm6i0GqxjXvWaxPmnC0qiaQBIXQ=; b=uJ9gr03d5506TIpVmEt3G6ZsCUSpHLt17k2p8RUcj/SusTk3MfOwsx9jh1TBefkDJM 10CljZwWsy4zSs0r4n0PPKJNgM6hhrm+EXs48L+/45/jewLU7xZKLzP8RokfrP2/XlUk M3iIUXEr+2MVuyz68gCsy4FDGZjWA1jD1vrXq/5W2CqGksZYGUezxs9lJMXeZPlpEDI3 wUyB9p7tp/bBPw950Q+bORCbiQvpgYNbI0XF5pwUc8rX7V5zTjU9m6zsZuflRfUp4Xx3 AhTMnGi7m5p3FDTmgYh/xv4ZFvSvajS+ftT7j3y49Nn/9GhbOJTGhHv1RhlvEc40Tm+q a7tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=4m05knHllxlYOiUEtm6i0GqxjXvWaxPmnC0qiaQBIXQ=; b=nNokWZE1M+udMLkiA4/B1lZ6x3LwsmFrAr3HlQftgY1iEhdn1YnmeGjZhXAv11yq8H HU75y/3KfA0cK3bOH5zi8vR9bve7QAGmonSKcSELm9SgAgHqVyhE2E5yQ+SlAb6oMDDk Qyh/uUFAWecsOIImHXadHxwO+6+qA7JAULTbVD4MdfgYoXXzpGJoSX3A2QnGsD/xdKV9 ty5VRr35HX1rJPc/qnEN50vWapEQMNV6HD5iG5/dWEKnxDllNLDjJmFeUl3HkMG6pu7E r/vlGdqKMykFMC2DVSjdswpv5OtRvz1AGfTJEhixh7ky9bh/c5K52n4omBlouRZNDtc4 FoWw== X-Gm-Message-State: AOAM530x8eWaPUW93IMlPD8mqVEOWNIRdjYfWCEsBtcoC2RWxySnhpdf lK/6ZGs6HEJic1qBBq03a1M= X-Received: by 2002:aca:4b4d:: with SMTP id y74mr2710648oia.97.1616597334612; Wed, 24 Mar 2021 07:48:54 -0700 (PDT) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id a20sm427842oia.49.2021.03.24.07.48.54 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Mar 2021 07:48:54 -0700 (PDT) Sender: Guenter Roeck Date: Wed, 24 Mar 2021 07:48:53 -0700 From: Guenter Roeck To: Jisheng Zhang Cc: Jens Wiklander , "Steven Rostedt (VMware)" , 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: <20210324144853.GA5718@roeck-us.net> References: <20210210144409.36ecdaed@xhacker.debian> <20210324143407.GA8717@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210324143407.GA8717@roeck-us.net> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 24, 2021 at 07:34:07AM -0700, Guenter Roeck wrote: > On Wed, Feb 10, 2021 at 02:44:09PM +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 > > arm64:defconfig: > > make-arm64 -j drivers/tee/optee/call.o > CALL scripts/atomic/check-atomics.sh > CALL scripts/checksyscalls.sh > CC drivers/tee/optee/call.o > In file included from drivers/tee/optee/optee_trace.h:67, > from drivers/tee/optee/call.c:18: > ./include/trace/define_trace.h:95:42: fatal error: ./optee_trace.h: No such file or directory > 95 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) > | ^ > compilation terminated. > The problem also affects arm:imx_v6_v7_defconfig. Guenter