From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 641742D47F4 for ; Tue, 9 Sep 2025 09:52:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757411522; cv=none; b=jfry1OXFJUZvpuh1FhMGtn5+VFQ6aXBvV9qF7djmBb5RKdJQvKVzpZhwmx/U15ziCc5YMUQwOGRclEvPh/vwC+J4BwwMqN2GQFU+KeHtkIlysukQN7cR2OHvRLHAmwK7RPhnLMOeHYhAax8GN7P5gcLqJfgXRPuAyzZrpsuuv1k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757411522; c=relaxed/simple; bh=/nAB+7McT31ZFyxcHGz5vvCMmup4DoT7EB2iLR5nwcY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RFiKhFRBgQ+puXdqrLDJ42JE/wU+NLR1x2YxrTNBN0Jq+MCyEvEhkNAgKQUej4muyVQLbKpX80f6IqIjiXdoC6W3ktlXxsSWZ31BD0GeAEDNIpw+Rb8w7pm4/D6ayrvfJiohe+Kr7bYMx2JO9+XsP3SGtfX0837TOKA7zcIR65o= 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=zMXqczCx; arc=none smtp.client-ip=209.85.128.48 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="zMXqczCx" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-45ddddbe31fso18478825e9.1 for ; Tue, 09 Sep 2025 02:52:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1757411519; x=1758016319; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=iFGYAxN7KhpHBrugmRev4scw5IytGj3RswCGCmkqFTw=; b=zMXqczCxMtTTyM5JSRPxXKvJJHpRbuZeX5NYNEkg0JCl15iOEjgThVeSd5OuAjB3Vq mXmjPHO2mO9DIaR12JJcdHIBGhwipemNXWSJkpA63ynCK6Mp3KfWTRv4poUJa3kJZ80p tLqhP0runi0iuyAtc8eq1+QXg16v4Bq6QDc2aZxpEaETMQuBPwR53lVWXzDrSZa0DDQo 0vLkVNgJX+m/CpNeDFsJXaBLJu9ZxOaGsm7Ewuo3eAJ45IzOpB46bERd7Ukf1yUyMLcC 9DsZaodNEnIOJ+uEVPVKhXv8xlSUK7NlBJgukhTr00T9zuwP7acksLWVJUVnWXnO8ayX 2M/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757411519; x=1758016319; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iFGYAxN7KhpHBrugmRev4scw5IytGj3RswCGCmkqFTw=; b=OU/n6ypxsKSXK0gMk5SRmSwqpFiJTuc2xoZ0xPjCvaJ5befjzIdC7KQcxZjeIdkwlB U1q7RDbOKY9e6FcmToLKD340jmvVpN/pRgo3xMufEmh2XQLK6PwjlTd0L90hXn9EgkIV 7T4TK+crK+auGhstt2obHBdAXxyDLHrRYwKtZVIlPtzD4Ugi2w3ZLmxPR5FhltjWr2Yz +MpmZ60iKWn8pGoecor5hTAED97mplW5oEg1cTwIVt4/XCmhwChMQuf7iBrdXouIBrUw 5nDhG19gP+cnA1B7kq7GIv32iqDXwdgg/DvfrL2Fzk7ifDWD6aSaGpmZJh0EhOZGFNf2 SEfw== X-Forwarded-Encrypted: i=1; AJvYcCWp2zyYGHU2gmePHXACQxqGoJmvkRFdHNPSWemXIjqrgxIyoSyLpiCTl/QUuNA8D8BeoQfDnO9V2ws28DUtX4l7@vger.kernel.org X-Gm-Message-State: AOJu0YzImEezlzOJYcgKT9Ga1GXG+TUwKidEj1yJCtsWLA6ignUwNsor vwCGV72Xhtu5gRSOZeBWNp+5eZPb/Nf1uO5wowwErWYOqnScDDWXIjW+te2u4Vvampk= X-Gm-Gg: ASbGncuA979ZIO4p8cAgN3kpjLJTMQ/StapD2wmOsDwtnHEW0FkMJww0UdqVwkGHPsv TKo6/wQgolaoKhTZ4U9bTVMiu39yzJ43dpoIuT1Zo4YRnf/RaU8L0UsmZiXotRPEZVnxlayUyzZ 7tIAzcHHKQQqgRcXzH+5VBKM6EismS2HZ8r30Mwk9+y2O5mcWFg+AMTB8mqBxWvcGNxSwiDIizN lrykMvq5vjBWu7g2hbUUwGMlpibPqffWuytJCoH7JbMDGsk2p7PQId9jrEzJcnI75sOp9mjDqhe D5BnJ1i9qbM+N+rg22aX4j4RwpUzAdpFEqPJCPKpMgQI4Z3TKfNWRL81AmNAQ6DZyEmiFS7GhQh Zpo9PtywsLSmAZnKyr60Nujxx5BE= X-Google-Smtp-Source: AGHT+IESmYHdHard1McUHhkFXGOst3hEfh+qWrJbkAkYlZD2XyacUZJFctXBns93b9p1corUeRwWcg== X-Received: by 2002:a05:6000:22c3:b0:3de:78c8:11fc with SMTP id ffacd0b85a97d-3e6497c0668mr9559747f8f.63.1757411518659; Tue, 09 Sep 2025 02:51:58 -0700 (PDT) Received: from [192.168.1.3] ([185.48.76.109]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3e75223ea15sm1916533f8f.47.2025.09.09.02.51.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Sep 2025 02:51:58 -0700 (PDT) Message-ID: <02cba58e-86f6-48de-a59c-6d31a29258df@linaro.org> Date: Tue, 9 Sep 2025 10:51:56 +0100 Precedence: bulk X-Mailing-List: linux-perf-users@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 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> Content-Language: en-US From: James Clark In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 >> 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 >>