From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3E7B332A3F0 for ; Tue, 9 Sep 2025 12:21:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757420469; cv=none; b=WOMVzvzizFEN96QU5fnyGE3kAWyB7/SmvS26RGC2oqaMlkVDz4GDG3e0R+znt1ZGgFdhmeBVrNux+vrUIZA6cghjR+qL4wgZmHXpYH9lj9ZWL58vtv8nUBQVD5roKpnkK8Bf7msRDQ+11RkMIqF5ZYfZNGTUjUWFTyEstCNnJgU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757420469; c=relaxed/simple; bh=BdA/OQv8n239DFtVYhXJBlllkimTnSdhMzIasDl7km0=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=BjL4y9zWMJmb/3M4e4XvEREzzfBj3O0/vlcUd/kTnyay4sqKW8Thvb+brug+1ZU/uWl4W5W0BFH5umXnP84kNXqdM/vLJInH7ZA89/eS+KaVpbX71vTHMrruVv6m0H3zgy70H6WUl7bcl6F+WB+ov3JyyxCTP7wCD4QmHwNqgZY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=N8wVxcKL; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="N8wVxcKL" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-45dec026c78so12096305e9.0 for ; Tue, 09 Sep 2025 05:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1757420465; x=1758025265; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=e9aAVIFTB9yAV+GQAaHBwR0TWklKYdkWkTVHPifGbM8=; b=N8wVxcKLYTcDq3MXozROg+/vovEbENqpWGVHHMsi+PQtLLV9+hgsGhjUwZgL8nOxnc NC0V+vuvH2ah8VQCxAqmm5olcU91Bq8KL3HnTitmUOaYe7DAIxBfEQtk2pnBmDD8/VeV mKEJXJVNYR01pxNNPTyEHI6dpp/oMsNKXyGPJRnAZ9Gzy6AWTOUYGEb9flzN9jLDmR9Y YQD15atyKRarq4OD4ympINH+690AU06Om4+LkWALbYnTuA+SKw0G4UNmrKzxHXA9cjs0 YitQ1GB5zRgo4p1EKpqFygkTRnqmgmtXRtQRmgG7PCOebWfp52LPPFCRj15k6CK9/vkG LZZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757420465; x=1758025265; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=e9aAVIFTB9yAV+GQAaHBwR0TWklKYdkWkTVHPifGbM8=; b=abf0ar9w/XlvzVrQI/cvDYudXJ2SiQIWhl070y10lfiPW3jD4kDasgL5mxlJP02SDV pHOvZKVVArg9FD6Zh7yxYZLD4aYW6qjcVK/t+wbIX5cS8o6Ljw6ZIyLgeKelkvNphH3f GlHYF5SJ+4PE0t6ewOohmO30v93iAiUB7LlUcajq8a/tzzgsvmQKIHyjBzBU9RlqwWWA nPVB5RYLJjdLMVA2V7uh985m5DXwZXhg8GJlIq+f0FJDib0VSUD366mlE5ug9J7QV3x3 /AJIxLf8NarY385mVedKP4klmnMF7NThTfVoWRfP4/Jf/o+LNtAzmlyj9zLW4tcctUQR lhtA== X-Forwarded-Encrypted: i=1; AJvYcCXfKd1xSkXaNf7YK7EEMa/HrG4yl9WwfajRIATlRIdAVJ9UbnxOrMcZxLbMrz7RVM4TKX6SQ5u3Ehx1m7Y=@vger.kernel.org X-Gm-Message-State: AOJu0Yxs3BY3HnxV4o77coOU2t1ZWUIQPC4YGYX6ndY3S8DzBiSRlUrg LpFCE9CWZcCKCf9OZysEuokYEDw0ZJVYLm1HugbD4z1+McEDQr7/55NIDH9nUT6rKC6KsOweO5T 14OSqEKE= X-Gm-Gg: ASbGnctP4pw/vtFmapG89AAoPHnXoJUwf058W232odWpznrQ/ljo+EExIXCdwWEgjyn 9m1ghOxq5Hn5F3n8jrW/R8xoq97YUur24kckjFW5Ogb+ZDvcwM+RyqBlxwdessAf3VNi7GFfZdB rUEI4GTIHCt6Nk0ISyU4XKxKJszig/7hJKkbjN2UhFu/tegalQIuR/9qae+goGdwaWjhOsmKFjQ clVk/QloizYGF870i0iXrEeW4SapMWrOX2uU9DUz54O6odhrE/YImuMFB/7nTIBNVM2uQ0u0yCd fuSVRSNG5+3cXIDYrIT0Ye1Gy/zSDZ1SlyctnTdmZpvU5QPYa8BgWb9dn4Sk0YUzdi/8fpbsYI5 8DsGGh8DcQOPYyWZOIfuq7sokKlhfk/T7R/HMKQ== X-Google-Smtp-Source: AGHT+IHaBOAGTfkhgFhbVLu/wHVI1hhtSVll6EktX5UfFmRzOFzoL5bcSBkBdIXzZP80OpbBKg72qA== X-Received: by 2002:a05:600c:45cd:b0:456:1dd2:4e3a with SMTP id 5b1f17b1804b1-45ddde6ad13mr106581125e9.3.1757420465378; Tue, 09 Sep 2025 05:21:05 -0700 (PDT) Received: from [192.168.1.3] ([185.48.76.109]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b9c5c89f2sm298074835e9.14.2025.09.09.05.21.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Sep 2025 05:21:04 -0700 (PDT) Message-ID: <9f84d9e1-9404-4151-9c5e-d3a1c018aa03@linaro.org> Date: Tue, 9 Sep 2025 13:21:03 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/4] perf arm-spe: Improve --itrace options From: James Clark To: Arnaldo Carvalho de Melo , Leo Yan Cc: John Garry , Will Deacon , Mike Leach , Peter Zijlstra , Ingo Molnar , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , George Wort , Graham Woodward , Ben Gainey , Michael Williams , linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250908-james-perf-spe-period-v1-0-7ccd805af461@linaro.org> <02cba58e-86f6-48de-a59c-6d31a29258df@linaro.org> Content-Language: en-US In-Reply-To: <02cba58e-86f6-48de-a59c-6d31a29258df@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 09/09/2025 10:51 am, James Clark wrote: > > > On 08/09/2025 10:16 pm, Arnaldo Carvalho de Melo wrote: >> On Mon, Sep 08, 2025 at 01:10:17PM +0100, James Clark wrote: >>> Most people also want all the SPE samples (instructions group), not just >>> the flagged samples that are put into the various memory groups. These >>> should have been shown by default but weren't because the default >>> interval type wasn't supported. >>> >>> Also when looking at this, it appears that the downsampling was behaving >>> in a way that would discard samples from one group but not another. >>> Improve that and the warning messages. >>> >>> I don't want to put fixes tags on these because it's only changing the >>> defaults and the behavior, but I don't think the previous behavior was >>> incorrect necessarily, just copied from tracing techs but not ideal for >>> SPE. >> >> I keep trying to find some hardware to have in my homelab to test these >> series, but till then I depend on people having access to such hardware >> for acks or better, tested-by, so waiting a bit for those to appear. >> >> - Arnaldo > > Unfortunately I don't have any good homelab suggestions. Radxa Orion O6 > are the only not-super-expensive boards that have it, but it's not > currently working due to some ACPI issue. AWS Gravitons also have it, > but you currently need a metal instance so that's expensive too. > > Leo should be able to have a look at this one until the hardware > trickles down further. > > Thanks > James > Forgot to mention that everything is available on the FVP model, but unless the tests are specifically written to run there, they're too slow. The BRBE branch stack test has been, but SPE and Coresight tests haven't. So not very useful either unfortunately. >>> Signed-off-by: James Clark >>> --- >>> James Clark (4): >>>        perf arm-spe: Show instruction sample types by default >>>        perf arm-spe: Downsample all sample types equally >>>        perf arm-spe: Display --itrace period warnings for all sample >>> types >>>        perf docs: Update SPE doc to include default instructions group >>> >>>   tools/perf/Documentation/perf-arm-spe.txt | 14 +++++--- >>>   tools/perf/util/arm-spe.c                 | 53 +++++++++++++++ >>> +--------------- >>>   2 files changed, 37 insertions(+), 30 deletions(-) >>> --- >>> base-commit: 75a7b9d29215c5aa813b9620f3c56817918f9f8c >>> change-id: 20250908-james-perf-spe-period-4711a566cba4 >>> >>> Best regards, >>> -- >>> James Clark >>> >