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 EBC46C6FD19 for ; Tue, 14 Mar 2023 00:37:28 +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=3IB+GVMvM8GMpcSgDfrc5vaip5zApTkklTtNyg3OsiI=; b=cC5lReGBYFKTsR yc+9vFhlkmJkAYe/XznRsjvaO5kZYCXyqtyaMCtGak7Iy49OA2ZUQJs4oAVZq7Q6zIGtN0tl6CVQx j9zihmk4+lp4EafFpqYf9TxjGUBCLRtZzeipEzwqUOCcCuqzF5tkaDlMFp+rmVGMYq6WSGMrZPp1e 5u/GB/b4Wrshy7BHsreE18DHx4AGhA5n7AmVt9dePq+zBDg6djPZfAhIfNtUEhXTr+S9dZUUN7kqP vpaeCQR6EKfrX3XcswD8XMgXMYBq+NKYqQnvD8vVjvMFSvANF+MP0vSZGCNttrxZmytR0HXsEIFkR jCMQKnlm+4QyIN5BPVXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbseV-008Qx4-N6; Tue, 14 Mar 2023 00:36:31 +0000 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbseI-008Qrv-8j for linux-arm-kernel@lists.infradead.org; Tue, 14 Mar 2023 00:36:20 +0000 Received: by mail-pf1-x432.google.com with SMTP id o67so2087352pfg.10 for ; Mon, 13 Mar 2023 17:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678754176; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=vlH32Emuag8G8y9Ul5mcocRDTiGSeipNTGU5xstePhI=; b=LC9WAk/kiCsVP8DZ63qBj9WES4RNUeUZHz0x915YlHbjaPh1l3J5fJy0NT+ObTGJ08 sPWmP+WS+kbCjhi1JhXNgK/wc/KZPWlI8vzMvW6uH/HNrHWddbpdOnG/SYvbdAUA0QoC EIXxfZpCRb47Gr2HzktVuZIxIh+TNzB3UjGpMVy+N0dnFtRGcXGG7Hgoxp3jVeqECN4Q TaorKyjxRuAM8gsKUtzC+GLqU8UXvNLbUGwyi4p1G/SDr/Ay2Ylot98x5f+kclK5y7e8 2PqekyLXOp6JRzqiMkYMYka9PZJzEN5ibhbksk7TJcb1VQ4L9w9hi6UsdTUlczTwMtAj rGgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678754176; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vlH32Emuag8G8y9Ul5mcocRDTiGSeipNTGU5xstePhI=; b=2rfNPs/MaE1X6IYq/vzaXVXSA6pMGilvrGsSon8UrD9UOwwfSzrjutMjt0bjLCFc+V BGwTnzYTuYEofPyjt8pW0xbQbvbNljySEO9ARgmkfuyEa3e0Y9MbFipLDC51uY634C6m TQSS/CJRAYkWS5R6Mbx7dUqhSqamE2Siv2ZHZfme+WcvdnHsieixgTItGOe9pI5aVn5c 5f84xIQdTls0OgCloSC+x/knu0+J+eM0CO8ZS4YzysmUMGqTK6vRKlwNVa5fKYx8Jq7u 4e0QyAHxehodyOHnSfW1pb94D9CQHQYCRrg+1Lu4vpmqbpRJR4s9CM605XaxFmkvDBpv VKEg== X-Gm-Message-State: AO0yUKUMlKRYpz38JZ1Ym90+mOj6zJYbNpgEKkEr5mCQ3cngZK2m/gyh WumwiGV5Zomf2Hiw+63Kp5gcbA== X-Google-Smtp-Source: AK7set+Oh5cn1IYOWU6yauoYsJOvLntjuV2ZQ7CGBQKzeIOFxWwEiay+rHs7xVVYnsJGnaGv7uURFQ== X-Received: by 2002:a62:8489:0:b0:5a9:bf42:fcc5 with SMTP id k131-20020a628489000000b005a9bf42fcc5mr40513981pfd.0.1678754175989; Mon, 13 Mar 2023 17:36:15 -0700 (PDT) Received: from leoy-yangtze.lan ([156.59.236.112]) by smtp.gmail.com with ESMTPSA id s11-20020aa7828b000000b005ded5d2d571sm271368pfm.185.2023.03.13.17.36.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 17:36:15 -0700 (PDT) Date: Tue, 14 Mar 2023 08:36:10 +0800 From: Leo Yan To: Yang Shi Cc: James Clark , linux-perf-users@vger.kernel.org, LAK , coresight@lists.linaro.org, Linux Kernel Mailing List , mathieu.poirier@linaro.org, adrian.hunter@intel.com, Jiri Olsa , acme@redhat.com, mike.leach@linaro.org, Will Deacon , suzuki.poulose@arm.com Subject: Re: [BUG] perf: No samples found when using kcore + coresight Message-ID: <20230314003610.GD2426758@leoy-yangtze.lan> References: <8ca2b07e-674e-afb6-ff12-87504f51f252@arm.com> <20230309113851.GF19253@leoy-yangtze.lan> <20230313121420.GB2426758@leoy-yangtze.lan> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230313_173618_717622_C8757A88 X-CRM114-Status: GOOD ( 10.69 ) 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 Mon, Mar 13, 2023 at 11:15:44AM -0700, Yang Shi wrote: [...] > > Just a quick summary, here we have two issues: > > > > - With command: > > perf record -e cs_etm/@tmc_etf63/k --kcore --per-thread \ > > -- taskset --cpu-list 1 uname", > > > > perf doesn't enable "text poke" attribution. > > No, it enables "text poke" and perf fails to decode coresight trace > data too. It doesn't matter whether "--kcore" is after or before "-e > cs/etm/@tmc_etf63/k". Understand now. Thanks for correction, if so we can ignore this one. Leo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel