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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14B7AC433F5 for ; Fri, 29 Apr 2022 16:29:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379190AbiD2Qcd (ORCPT ); Fri, 29 Apr 2022 12:32:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379176AbiD2Qb5 (ORCPT ); Fri, 29 Apr 2022 12:31:57 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48D98DAA1D for ; Fri, 29 Apr 2022 09:28:27 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id o69so6184615pjo.3 for ; Fri, 29 Apr 2022 09:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8o1g1pc1Zo4mdrCDNvDc1CgrtJ8NQHSuN+bpLSURGl8=; b=ElAPM0Q3mcvn5oehIQusEMmbTDC+Tdgr9DqEFZ4e/tgDU5vyB6ZS/+cLvyyGcuo8oc C/0ilD5BPnZuM6mkYjXz3UbEFnuDWtK4dtUPRAjeD+SBy6h7BJROAR+6bF8FEsmPgXIe xna4rWFAgG6K5r3Dz2NDQkPetJpJbDPaZYL0qFiMHfNHOM/IZcIm+ORZgm4DyB70mGOM 5EEZO449flHI5al9KIDLWQRt/0BaibHb+UGU0UamjPJOH9s8j90UnfIwBOPhuqGOjTSH Dl2ZKa6xjTxQ6ZuVD7G2GemGFJe+4ob06HhIGd6b6MNIHVn/0PpsiSqBG4h1PmtB8CQh vPsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8o1g1pc1Zo4mdrCDNvDc1CgrtJ8NQHSuN+bpLSURGl8=; b=RVKsFnARNtzf+YjdE1GmkFTg62n6hnYQjd/7Ex2pCHAXzG45vlp3Zv/Q/LmL5QRNDH rWkRKaFjyaXxuwQoo6xvTavmFC5HSbxSaI8V2fh7wWyS0pR1oOrx39L8LbsqSCSGEjx2 DmmIhPP5Ufg+2VYXeZiqNC97e10a7F6hfvPy4k35PncYm9xU50lXEmwKFYqHo3dYpUPV BbfCP15tFMxQDQWGqpoRCGDhLCKp0ACGk9Liw0MC6yf4iVPixvOaYggNfBupFhoTLqY6 H4g0IWyGAOL5s1JHIcK63cg1CwB2kHYzwDgrrwVV82bgfvQr+ETL3BvOI6IbKBrki5w5 n1Pw== X-Gm-Message-State: AOAM532aToih+W9UVOTw4I7KRG1oqiqWz7e0Rc2iUsat59uQXYD51jnv /krmfM8ul/Szybj6fYNvcrrtVA== X-Google-Smtp-Source: ABdhPJyvdpbS70C6vXVgKYdx6dM5RdCk6nlSpEqUBzE4WMG2pJQzRuzdjOIfLA0gRuSH51lH8EJhzg== X-Received: by 2002:a17:902:ba93:b0:157:1905:f4bc with SMTP id k19-20020a170902ba9300b001571905f4bcmr39283151pls.83.1651249706427; Fri, 29 Apr 2022 09:28:26 -0700 (PDT) Received: from leoy-ThinkPad-X240s ([134.195.101.46]) by smtp.gmail.com with ESMTPSA id e126-20020a621e84000000b0050567191161sm3603680pfe.210.2022.04.29.09.28.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 09:28:26 -0700 (PDT) Date: Sat, 30 Apr 2022 00:28:21 +0800 From: Leo Yan To: German Gomez Cc: coresight@lists.linaro.org, mathieu.poirier@linaro.org, suzuki.poulose@arm.com, james.clark@arm.com, mike.leach@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] coresight: etm4x: Expose default timestamp source in sysfs Message-ID: <20220429162821.GA653442@leoy-ThinkPad-X240s> References: <20220429123100.268059-1-german.gomez@arm.com> <20220429123100.268059-2-german.gomez@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220429123100.268059-2-german.gomez@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 29, 2022 at 01:30:59PM +0100, German Gomez wrote: > Add a new sysfs interface in /sys/bus/coresight/devices/etm/ts_source > indicating the configured timestamp source when the ETM device driver > was probed. > > The perf tool will use this information to detect if the trace data > timestamp matches the kernel time, enabling correlation of CoreSight > trace with perf events. > > Suggested-by: Suzuki K Poulose > Signed-off-by: German Gomez Reviewed-by: Leo Yan 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 49E03C433EF for ; Fri, 29 Apr 2022 16:29:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=5rqqbKXkkFivJ+j74XTHoPjoXYjU59wC+mbUK9XCJCs=; b=kxYxlJOPJdDq6E 8EFgP/hEE5oEDeqysSRdIegPmix6byAzZxxEAAWrecYrxvzVkHilklHj8pHiBEO1wxU20fHpZAb3X l9d9jFNMyc0dphchx36XRQdLHoMmR/jsiqwpfQLye/XgsjjfvlO8XgAvUtu8b8Qtqo/jg0nj/kaMd 1NtqJiUDmkLU8AQl7GtS/EfO4RtsyjNOjes2bhxDibeW/2Elw+Ksujk8bc7vaI0ZYqJXpYFRQ0Q5M oyWI0kr7YpZjb66bQk9aHuDc1j3vq8DqyFBTLs6kNWoKs5KTFjdfgKOzIpIn/M8vFop/SGaTeTdQs uumI9KUVjpECIHQDFXIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkTTq-00ByCQ-2H; Fri, 29 Apr 2022 16:28:30 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkTTn-00ByBM-A0 for linux-arm-kernel@lists.infradead.org; Fri, 29 Apr 2022 16:28:28 +0000 Received: by mail-pj1-x1030.google.com with SMTP id t11-20020a17090ad50b00b001d95bf21996so10969699pju.2 for ; Fri, 29 Apr 2022 09:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8o1g1pc1Zo4mdrCDNvDc1CgrtJ8NQHSuN+bpLSURGl8=; b=ElAPM0Q3mcvn5oehIQusEMmbTDC+Tdgr9DqEFZ4e/tgDU5vyB6ZS/+cLvyyGcuo8oc C/0ilD5BPnZuM6mkYjXz3UbEFnuDWtK4dtUPRAjeD+SBy6h7BJROAR+6bF8FEsmPgXIe xna4rWFAgG6K5r3Dz2NDQkPetJpJbDPaZYL0qFiMHfNHOM/IZcIm+ORZgm4DyB70mGOM 5EEZO449flHI5al9KIDLWQRt/0BaibHb+UGU0UamjPJOH9s8j90UnfIwBOPhuqGOjTSH Dl2ZKa6xjTxQ6ZuVD7G2GemGFJe+4ob06HhIGd6b6MNIHVn/0PpsiSqBG4h1PmtB8CQh vPsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8o1g1pc1Zo4mdrCDNvDc1CgrtJ8NQHSuN+bpLSURGl8=; b=I6dEcoeZJ49J99Ak5QeNO9+lZsYmht5/nqYn2olh4PjWoqmeDBlf9FJBsBgMHDjroi q4xmsSS7sFYo349kOJaR7+QO2mFnBiouVNRDL5dIthwtDHfbDa/+etnlcDGJRXV9Acar u1k8LrSiHy9oYrS5PZ5dX87xDY6m/w+qFeJuO5kNZJUqhMM073Tt9A9qvBqrJUo1o2Gp x/y4XdSWvaYw6RdYJ7bqyYFV/ikYEVgH7tI1WRs9O2KPvpeMvydnYQFbYyzUsFrOYepZ KL5LaPEO3fc0FNLBzgVLdlPwl7BubhYBN9CyUAqBp7yhGBnBHLOm3yG01db9G/YGL6LM 28ZQ== X-Gm-Message-State: AOAM530rTAUTlMcG7hIwpU/aZ/ZSe1CQJdFnSPLq9KGF9HkmJlnuZhyS zwfE4EsSLbq4r/MlnmvAaGLo9Q== X-Google-Smtp-Source: ABdhPJyvdpbS70C6vXVgKYdx6dM5RdCk6nlSpEqUBzE4WMG2pJQzRuzdjOIfLA0gRuSH51lH8EJhzg== X-Received: by 2002:a17:902:ba93:b0:157:1905:f4bc with SMTP id k19-20020a170902ba9300b001571905f4bcmr39283151pls.83.1651249706427; Fri, 29 Apr 2022 09:28:26 -0700 (PDT) Received: from leoy-ThinkPad-X240s ([134.195.101.46]) by smtp.gmail.com with ESMTPSA id e126-20020a621e84000000b0050567191161sm3603680pfe.210.2022.04.29.09.28.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 09:28:26 -0700 (PDT) Date: Sat, 30 Apr 2022 00:28:21 +0800 From: Leo Yan To: German Gomez Cc: coresight@lists.linaro.org, mathieu.poirier@linaro.org, suzuki.poulose@arm.com, james.clark@arm.com, mike.leach@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] coresight: etm4x: Expose default timestamp source in sysfs Message-ID: <20220429162821.GA653442@leoy-ThinkPad-X240s> References: <20220429123100.268059-1-german.gomez@arm.com> <20220429123100.268059-2-german.gomez@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220429123100.268059-2-german.gomez@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220429_092827_377964_807F829E X-CRM114-Status: GOOD ( 10.39 ) 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 Fri, Apr 29, 2022 at 01:30:59PM +0100, German Gomez wrote: > Add a new sysfs interface in /sys/bus/coresight/devices/etm/ts_source > indicating the configured timestamp source when the ETM device driver > was probed. > > The perf tool will use this information to detect if the trace data > timestamp matches the kernel time, enabling correlation of CoreSight > trace with perf events. > > Suggested-by: Suzuki K Poulose > Signed-off-by: German Gomez Reviewed-by: Leo Yan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel