From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9716CC433C1 for ; Wed, 24 Mar 2021 14:50:33 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 136FD61A0B for ; Wed, 24 Mar 2021 14:50:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 136FD61A0B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=A5xAAHkdHQkxA1fniy1++oElXwQwWtfdCAPcMrdHd2U=; b=ayCtYGvFLKpf3ds04SmtR2V/g A8wYjtney3vI3akQGJFSDCPNDzuI1QEVJIgjBvrdYzMU5X8/rV7EV5cn3XclyJosQO7w6A8uVYbIU vluRX/xNpe5ob+Sq+Vt+wq0kZWJkTJKb+E9c+weAzCblo3QB1CkUBufLGAOGIZquIrg4YgWaVqrov yCSjG7AwXLE9z4L7qe5/T3V902O2Wzs1ILo4N6URKno4p+J6h7VzCSZi8WyL3qiNKQsszhYY6EOQh K6XpNfrm5YaTDqEKXxKiNHm0HMbetilf/dxCx41oP6C8BeVy91TJzv9MJTyi4Wuv7RUJfMIJaXpPy FRFSTtqLA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lP4od-00HEPm-Vc; Wed, 24 Mar 2021 14:49:00 +0000 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lP4oZ-00HEP8-Tn for linux-arm-kernel@lists.infradead.org; Wed, 24 Mar 2021 14:48:57 +0000 Received: by mail-oi1-x22a.google.com with SMTP id x207so274877oif.1 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=SZti0yA6QNHiap9OmBN/vpWFn8dbgnhy2SPNhV9V+2rv/8JKGMfxWVavbBDyLgWNUa IW2R/maYSyi8YOfRRx/8rbocU13tm+1Z2WP1EvzlMtpIIHa2/12Cs8GNtoOLc8Ndy76b gSY76jON9HG03EgqovK81xiJGdKuXRa41gyzaarmnGdnlY19hUJaJX6wTLw4OlEvEyTn h+FO8Q/GOa/lpgTbHUQjjWPu0t6pVsxKU05Mu5+UzFfXpNtOkfJSu4WiCYisvQKVfFp3 W/wK5iivznfvvDJXQDEVMWHiIC+V3yTeBr0dpMGXTLdDJ19tKa6VddYjkCii966kS1AS qJ6g== X-Gm-Message-State: AOAM5333VnTut4ezKctA3DEyMFMhdG+qXnnGBNtsnHiuBEpeY4RZ83JU vkT9255bjR4FyAGQThWpW9Y= X-Google-Smtp-Source: ABdhPJxr/n6snlb7YwJBadHcMkMyG5KAakLbLkJiIQMU7giASwTXd8wXtVLn6Hm1gzn9vJfAK7X4kQ== 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) 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-Disposition: inline In-Reply-To: <20210324143407.GA8717@roeck-us.net> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210324_144856_202503_8F764F66 X-CRM114-Status: GOOD ( 15.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel