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 CC106C7EE23 for ; Mon, 5 Jun 2023 22:12:06 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=S4hvzvpQmsAlXWeSwRyPAilMZbHelEpwPGfSslIdO0c=; b=QPPfXSH+pPBVp2 Gl+3KzI34AIdVMjBnkyry9vuhjkl4EOc0tx6oLIUwIp5nc8tbVJpsJOshLUtBvwhHy2gNzbs5R6xH 2nN2IjLgDu5qzsdMWL6UNx5jN7ZLwfT8FPD8q8BDBKM8YzVKTgPrjLnE8qZsC3Xy/Fr/vPOYVBI7F HDb6JIewMkYv86CVbwF0sjq9hf10UKg8+riA/9//aphUDQM8Ohg0r8TPwKVd+DOod5NFcbKvOaHu6 43LSghcZopG28h0x09Vty/C/Wa409McZK6HX2vBK1zHBlKk9zycv/17D+aP3pe30KL+ApEblz40Im qXlrI9YBB6DzTQ37IPBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q6IQL-00GyGk-1H; Mon, 05 Jun 2023 22:11:37 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q6IQI-00GyFX-1z for linux-arm-kernel@lists.infradead.org; Mon, 05 Jun 2023 22:11:36 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2EA95C14; Mon, 5 Jun 2023 15:12:15 -0700 (PDT) Received: from [10.57.25.141] (unknown [10.57.25.141]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 139703F663; Mon, 5 Jun 2023 15:11:26 -0700 (PDT) Message-ID: <362032af-382e-d367-a655-1c25407309a0@arm.com> Date: Mon, 5 Jun 2023 23:11:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.1 Subject: Re: [PATCH 1/4] perf cs-etm: Only track threads instead of PID and TIDs To: James Clark , coresight@lists.linaro.org, denik@chromium.org Cc: Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , John Garry , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230524131958.2139331-1-james.clark@arm.com> <20230524131958.2139331-2-james.clark@arm.com> From: Suzuki K Poulose In-Reply-To: <20230524131958.2139331-2-james.clark@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230605_151134_726696_7BD84DDA X-CRM114-Status: GOOD ( 12.08 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 24/05/2023 14:19, James Clark wrote: > PIDs and TIDs are already contained within the thread struct, so to > avoid inconsistencies drop the extra members on the etm queue and only > use the thread struct. > > At the same time stop using the 'unknown' thread. In a later commit > we will be making samples from multiple machines so it will be better > to use the idle thread of each machine rather than overlapping unknown > threads. Using the idle thread is also better because kernel addresses > with a previously unknown thread will now be assigned to a real kernel > thread. > > Signed-off-by: James Clark Acked-by: Suzuki K Poulose _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel