Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp405931pxf; Wed, 24 Mar 2021 07:38:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5o7Sm6VbwagZ6FKBgkU2ECdGWjV82Clu4z3dvHHXgLWVE0LvMP7yHfiGy0zT5w4U1H3Rg X-Received: by 2002:a17:906:1706:: with SMTP id c6mr4123077eje.223.1616596698502; Wed, 24 Mar 2021 07:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616596698; cv=none; d=google.com; s=arc-20160816; b=RdrxEG2q3vbm6Zr4AFaIFZ2Zb4Q/O4cxYbk3bb3zCgD2LXyUCNxCxJatYouSspOFsm FovD+JrBB6ToS53aWi1PeF0tCH+1029BEDZdJAwzTCnAi8Nvr5dr5knLgsfw7EG9/DIs hPEls76iDXhbyc1f+THOmOUieJmrKWwQHvs7pb0L57Ct8wPHsd9uOI6+hcpHOtk4GFTJ 662pycWOtwCHDHeUtnc5mxsB8/sv/vhSGfCcjBpA7GX7O6pk8ljliixenK72vWQf+pd4 Kozg0UgUTQUXAehgYTy0lJoiB5/EuXxCjDWXvnKiFzMkDoQBxeqFNpGXnJYkCSsVh1Lz ch7A== 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=TptIxkMgYJEZZgplyoNi5Dy1Qcvn+0c8XyFseFgq3iw=; b=q2lHDFj6NZ84u32NCzVqRmSWxz3LXm3OMOC/dyr9rSPcvvuB3vA3I1rd+hzYGL1PGy AVNgcuw0LRS86j5D8aG1yhIdYFCDsYjVkDBV5h7J9ndq0/Rc45ieurp+zmYnNdH0gq53 ug5VYAVlWoM1lY0qbQOZlDOPtBMgqQykaBpvgJWNrxAETlEb6Z8I1n65YbqEzHJdx5aU eWOn5SxEeqpL2qm7862PfVfA5PpxhR/PLpsca3qOR4i7OuOBFvX+f/gXhWjYmaZ2x1s1 VoW02a8i6t9PhHivQLcYMbi51aX7ZA+YRErTxQB1j4zgUZT5wzpLM1+dxcLfi2aVFeB+ IhHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=InmNUdu3; 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 f16si1933684edv.472.2021.03.24.07.37.53; Wed, 24 Mar 2021 07:38:18 -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=InmNUdu3; 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 S236269AbhCXOe0 (ORCPT + 99 others); Wed, 24 Mar 2021 10:34:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236226AbhCXOeK (ORCPT ); Wed, 24 Mar 2021 10:34:10 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F34FC061763 for ; Wed, 24 Mar 2021 07:34:10 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id w31-20020a9d36220000b02901f2cbfc9743so22921785otb.7 for ; Wed, 24 Mar 2021 07:34:10 -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=TptIxkMgYJEZZgplyoNi5Dy1Qcvn+0c8XyFseFgq3iw=; b=InmNUdu3/mfHxE4kPs1mMoGmMtmlBF95pScGfZvkKYBB4S3K4yfx4Bvkiuvy8JDp1O yhjKULxfVeaOitCyy5puKiBfFhQcpsddorwtzs0zHXsbh3CaCRCnVNe/Jx57ksmeAeFH R/NgK6kmhSBVYAXMp0P+4K9p5gqbCBWZoVERzpPvZKLB/ABkHihoCM5yINhPBmeqQJlV ByYycjQbA3wfBaZTI9nviFO2VKLYF0c+wkJ4QtiOOcAzU3TabwstbXJmsJ8kqM6H4FMn mdrwbpGv6PHZeKBGpQXfKm4xTSGSQN+0asGZaMFdTHw1zxSog7uUYmNc/ArbMbOtVBZ+ eaQA== 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=TptIxkMgYJEZZgplyoNi5Dy1Qcvn+0c8XyFseFgq3iw=; b=W6S1VMSc8CdrTNuFBLvCeJrDVsFxH+0GuNScTP358uC21ziKwCfIfO6OKvQHyMdF94 ld5j8FjZ1wuBtJKtrjm+e6MazxtaV1LEsfTwQcnV+mPJuDQCYAmBtzqj07971riLISv6 3SZcbK474nvfEkcEM4pl5jnwk9MgCSpuRrboCMsgWOFSGxINgJmYpgpQabvlvAeY/lGn ArzD+T+ju+JtOq82je1omFPRugKr8zagqEpzxirEHt8DK+tskX3Epk6AYzcPyPjnKRTK amAe20Nc/ZZO7vOXmWFuuqXtopPoLBOUBfenGpXfcLLmUBDXSr5YBQizyc3rNr1PzkRC n2zw== X-Gm-Message-State: AOAM5310lVbtF8FpfUJZrrB99k7+/Qr8IBAUBhy5fWBxgTbKamz1UC+D 80EecIn3o28EmQS2/hyj2qQ= X-Received: by 2002:a9d:788:: with SMTP id 8mr3619852oto.197.1616596449980; Wed, 24 Mar 2021 07:34:09 -0700 (PDT) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id n10sm311665otj.36.2021.03.24.07.34.08 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Mar 2021 07:34:08 -0700 (PDT) Sender: Guenter Roeck Date: Wed, 24 Mar 2021 07:34:07 -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: <20210324143407.GA8717@roeck-us.net> References: <20210210144409.36ecdaed@xhacker.debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210210144409.36ecdaed@xhacker.debian> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Guenter