From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B26D7481FAE; Tue, 9 Jun 2026 17:19:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781025541; cv=none; b=TOFr/g3EJkUqY6zZH9C4Zsi628Dr3/Yyt+24SFoYXr3Ucr8SHqtgbdnqo8YphRsSztsAEdwPCCQU54yB04ZN3SnXdKvzJVZ8b/VNkmoAj9ztcxOQbaRfWBk1vW/6n8vturM2x+7dtPwHn8sLvC3dFRPMxEl5nAPBaH2UBthUHco= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781025541; c=relaxed/simple; bh=tqT8YCZb7IjuhdToOCmCuykD4lTDO3YOgqiJ5RwAVms=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=O5HS3A+3D9RaTKJbkGHQuOE2Xq7yqVT6bG61zkRUI7b+6GrHnWfjbft9c3kvnIgdZ91r87bBhV4/qIh/Z2kPPk1m/J3/N536weO7TPAtaXHVIBqOc7J9BgIS70cTXX6TxTTBW52KB50g+3kbNKY8u4HtwV79dk4x1JXsm9uBG2g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=Pg6xFOx8; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="Pg6xFOx8" 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 5130E3D7A; Tue, 9 Jun 2026 10:18:55 -0700 (PDT) Received: from localhost (e132581.arm.com [10.1.196.87]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B486D3FD88; Tue, 9 Jun 2026 10:18:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1781025540; bh=tqT8YCZb7IjuhdToOCmCuykD4lTDO3YOgqiJ5RwAVms=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Pg6xFOx8b5qSmMD0YciRcQHp2ryy+UmAEJszVsvO1cpzq4rkMtBpQPflp4p0QuEsB 3C0ajdeEDkS5rUbjsJErrfpTAB1OXIrg0mvfKXsyOGS3YNrMKC6GGu3/0qsPMck106 wqaNwCwNayTnGwDvnWikCjyqYQKZs1YO2IADHBAU= Date: Tue, 9 Jun 2026 18:18:57 +0100 From: Leo Yan To: James Clark Cc: Suzuki K Poulose , Mike Leach , Arnaldo Carvalho de Melo , Namhyung Kim , Jiri Olsa , Ian Rogers , Amir Ayupov , Jonathan Corbet , Shuah Khan , Paschalis Mpeis , coresight@lists.linaro.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , linux-doc@vger.kernel.org Subject: Re: [PATCH v5 10/19] perf test cs-etm: Test decoding for concurrent threads test Message-ID: <20260609171857.GR101133@e132581.arm.com> References: <20260609-james-cs-context-tracking-fix-v5-0-d53a7d096a19@linaro.org> <20260609-james-cs-context-tracking-fix-v5-10-d53a7d096a19@linaro.org> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260609-james-cs-context-tracking-fix-v5-10-d53a7d096a19@linaro.org> On Tue, Jun 09, 2026 at 03:40:15PM +0100, James Clark wrote: > The thread_loop test only looks for context IDs in the raw trace. > There's a lot more that can go wrong when decoding these, so replace it > with a test that looks at the final output for matching thread names and > symbols. > > In the future we might use timestamps and context switch events to track > threads, so looking at context IDs in the raw trace wouldn't always > work. > > Reviewed-by: Leo Yan > Signed-off-by: James Clark Tested-by: Leo Yan