Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3651492rwl; Mon, 27 Mar 2023 17:55:25 -0700 (PDT) X-Google-Smtp-Source: AKy350aVocfbYxACMQdFTfMKyZSkgLRiSgTxquO6KF+DiJd64rpJrnKU5/GcOqWplI9f7O32buM9 X-Received: by 2002:a17:906:6946:b0:92f:8324:e3b7 with SMTP id c6-20020a170906694600b0092f8324e3b7mr13410183ejs.37.1679964925667; Mon, 27 Mar 2023 17:55:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679964925; cv=none; d=google.com; s=arc-20160816; b=FlR7bqdI4GoF9HuUX4QWmxRUA+ivpesNdvk9Ro0rDHUCohQNiv+uIf0N8C32szbr5c txItVj//UKQXHzEpM+OQ1oTZ9hOSSd+VarW6+vecm64ss8Mca/UuSK0d67jcU9X88FBe H28cg3jYs6f3vu8crUbkoxoIChktucHYytoewb/upODDCqweAIBCKMeFNS1N1VLhlVtG lUiFKZlkBdGDz8CYWO5Pu+seEUABEr8dPbRiRo6rblZA4IeZS4rJx/WIDguZ0Zm+b45i 4iqAZh7MeXCWqJPRffMA2iaRTxq0d/qkcgNJoDsOlvOs9cf4u1ts/XiQSbkAewrpqG1I 0khA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=8sV7N8LUyHkNioiD8M1h9rvVPbKL2byNtWw5W5Xmfpk=; b=F1zrJnpR5PeSUElz1iO2jRy9ISAhT4nmiu1fw9y4iHS83IV+gT/77q4Jtd3vhE1K2X 3p1Emuv2aAdpK8aIYtlbGoMXtho1Ls8MSI+RyJnmByAFXCT0uFFdahY4+N9GIwn+SHjm GkxlnOjQWF4QgkjwmhHkw7JpcbBWXXCAMI1P3AAUBMXlOpMaDd8ecn2Zp/Dlf04ptyN9 JkoG2RTT71OHLmJtCwvC1BJwWAot60SRwwSQCNuD3MKH7wBorNun9hu+kzvSUtbKE3OH tqHK/al0kPIeqC35ArKk12YLQU5yJmIsWjBOqYsTteuyvuI/MfNP5543JGt1xlGR68qC 4Ysw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jV6hxQM9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id vs6-20020a170907a58600b0094554761a80si3027234ejc.931.2023.03.27.17.55.01; Mon, 27 Mar 2023 17:55:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jV6hxQM9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229815AbjC1AxR (ORCPT + 99 others); Mon, 27 Mar 2023 20:53:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjC1AxQ (ORCPT ); Mon, 27 Mar 2023 20:53:16 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DE411A5; Mon, 27 Mar 2023 17:53:16 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id ja10so10128256plb.5; Mon, 27 Mar 2023 17:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679964795; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=8sV7N8LUyHkNioiD8M1h9rvVPbKL2byNtWw5W5Xmfpk=; b=jV6hxQM96H8vWkkWVymtC8KSBBy09/mGteJIBvrTBHLyNct6Pqy/84aEqfEF9csOP9 fdCis1snMKiq1DbgEPWe1UqqW9O8WscgVJ4W+g7rzDm/GuGxigR8uaBP12mniaM8fz+a TugBcB0qwGPJHjc9EmCdSx+dBft3Jc0V3H5JiPRRDJg7NKRAWea3dxjUmo3i11Dgk4uB fAY8wq7C1hDU29dgquOzL5DJA96PC5W0qrWukEsM2Gr62ayfLPLtd63Arw7VDpNS1OpI EL6fypWFJScOl+rEPMDLxI6BHhRuogGgYq15pJ5X9n6F+rnjbJ+521AoC+oMGg94WonL 96xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679964795; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8sV7N8LUyHkNioiD8M1h9rvVPbKL2byNtWw5W5Xmfpk=; b=BIXlJSZK3VCzqnLkbSnlcA3wONZ4vQTWtpQz0VVNVQvn8OEDSVpmm9JM2AMjdi2AMT bmCxy0JjXHspUKWMlf5NC5V36r2ugkI2GSzYGMLzX4ddXQEpOBddgd8LL7r9XpTgvXad Tn5/3abxxfeEL9asUP+2K3L7pgsWY13+QyTLc8XJ5EJddufoU/WzRkbOsGJJjlOxySfI Kbt5G7JoZ1XeFrhDvQ5xfwSbvbKXly26fv+mAosMORAPTp0spRVM1o8iI1gWrptgNlyr rhwY8JQXWahK6gOXMG0rK+T0BJ6BvpOO0j0QSZRZwe/B8ojo5gx8P0xTCxvqvyOzG8Gv pcOw== X-Gm-Message-State: AAQBX9cIQhk3vDvSSF6Ej/ZNj7wwlG/DihR/ngP8Rgw7IwdC5nJXXI/S XZZPyHUAmTME3poBM39t7GuhoF9j3z+FUvhjLwQ= X-Received: by 2002:a17:90a:5141:b0:23d:50d0:4ba4 with SMTP id k1-20020a17090a514100b0023d50d04ba4mr4175358pjm.3.1679964795626; Mon, 27 Mar 2023 17:53:15 -0700 (PDT) MIME-Version: 1.0 References: <8ca2b07e-674e-afb6-ff12-87504f51f252@arm.com> <20230309113851.GF19253@leoy-yangtze.lan> <20230313121420.GB2426758@leoy-yangtze.lan> <20230314003610.GD2426758@leoy-yangtze.lan> In-Reply-To: <20230314003610.GD2426758@leoy-yangtze.lan> From: Yang Shi Date: Mon, 27 Mar 2023 17:53:04 -0700 Message-ID: Subject: Re: [BUG] perf: No samples found when using kcore + coresight To: Leo Yan 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, yang@os.amperecomputing.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Leo, Just follow up on this one. Any update? Thanks, Yang On Mon, Mar 13, 2023 at 5:36=E2=80=AFPM Leo Yan wrote: > > 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