From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 D6908186E4B for ; Tue, 10 Sep 2024 09:27:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725960431; cv=none; b=GscgPnqPegi8K5+j7XQOin6A241hWOQGUj+iRr3zaQgqb2KAwj4DfGbn4UndB/8pPE+/eFAP5bOvTyQRQI/obWu8zbbvllYban6ERKMsBCvBiom8k0rx/uI/VFb6HXm2KlzGbJDf/Oz8YItoINDx/Grj9NN6hWevdYyxEUDPXtI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725960431; c=relaxed/simple; bh=RE9dfDh6uRSP27iyUBTSLq78I6DFJENc6hMNha/gAZo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=l1CsyWJ5jYWvahanbZGCFz97Oyjq+M9Ni1X21s2WlXkmORU8/ld1p3LJaQXLt645IjukI8d3I6fkslTJn3tKN/njL8r0HGwbav2YDWZ7Y7P0a5LYcSQVUoe1cOXhbDObyoCRiNhZOBsRHIdx9+tE5ka+/+UgMwulW+PgecVOQJg= 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=kcjHLrcw; arc=none smtp.client-ip=209.85.221.41 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="kcjHLrcw" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-374c962e5adso2948245f8f.1 for ; Tue, 10 Sep 2024 02:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725960428; x=1726565228; 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=ChPgvOW5+NGSApSDi5o4RkOv4a3E2yiO8R7EMr0wM6Y=; b=kcjHLrcwaKhEAT4BMf2alPhPQjvmw85FBbn72U34rhrtSJiMxiK/wWSfT6KjTNkaTn nud0f/GeQ1Pm95iDi4HN4Dah4F6mg+fPHFKNXMpX1EpZIJlAYnLxa24PuYgr2rzK2QQh Gx3fbFxg28YW4C3q3/bGQfMGiATIDQo8jwSGgePNdNnWQaSCVAcOas2QIEApkY4ATKQ2 hm/YMZ931X2y8R0WRAcf4jTcK7LrKmJ5TcqxGdLL2+ZGEsSXntruJlo0jo6kHi/3mnWc L8XhGe5DVA3C3Pa1IyN5tfA4/ZtfIieBmbksTDj+v6tB7ioZz5ThyUIeykJpqd9KobKp uT6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725960428; x=1726565228; 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=ChPgvOW5+NGSApSDi5o4RkOv4a3E2yiO8R7EMr0wM6Y=; b=vSCbgjqSNgcy0JjWjvD/pUfzeHg/taT74AANABHpRztiQ5ZBhmfLxB8THGjzJKhMJ7 zw02wdN00t3koMnXA1Dy5EnKq//qinxSj41MKanLdrnvMYVcfeOIQwM5Y9TGPqrMxYax jncEjvQ2LUMbW9ieiAnhkmUKD86CND4qX1SFuRgjr+JFjJB220gaXe6UMprmTDIi5i6Y /IJ0Ew87lDutlbpUyzRbyQVM9LlzF0045yaxP3QVuug+fd6Q58xkc7AjtNWItxguYGSm FFFTEI8x2CNH5pMc+QXGEysXCYGl68HwXAT5x4hF5alrzrmX+CPz5pPUumKr0iaORa0o td7A== X-Forwarded-Encrypted: i=1; AJvYcCUvUwoXGS6XhgseGqkRZOgvWqptbhqPGPS32GSPT6w+SHOGtzf6QmTaWEidwNlbLi0rwacwud1q5CYzOnctoZDn@vger.kernel.org X-Gm-Message-State: AOJu0YwOZJUVGYEbptIudmq+T96sqh2v7xonNgW0UpjwgsmGfIQjE0Hc MjiJEiqEXc2mpxx9x8VeD4WowqKqncCL+T2SmpdePH5ZKXNMeUtIxxqfKyIrVZ4= X-Google-Smtp-Source: AGHT+IH3slDyTSbNHrlV/Tt0a0lXWVPbbVWJp5/DmekUgqAL4lhzSyaC42Bi0iG5W4R+gMIBwSlN3Q== X-Received: by 2002:adf:e5ca:0:b0:374:bf6b:1021 with SMTP id ffacd0b85a97d-378a8aae173mr1186643f8f.27.1725960427531; Tue, 10 Sep 2024 02:27:07 -0700 (PDT) Received: from [192.168.1.61] ([84.67.228.188]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42cb5a66475sm74901955e9.44.2024.09.10.02.27.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Sep 2024 02:27:07 -0700 (PDT) Message-ID: Date: Tue, 10 Sep 2024 10:27:15 +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 v6 0/7] Event parsing fixes To: "Liang, Kan" , irogers@google.com, linux-perf-users@vger.kernel.org, ak@linux.intel.com, namhyung@kernel.org Cc: John Garry , Will Deacon , Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Weilin Wang , Athira Rajeev , Dominique Martinet , Yang Jihong , Colin Ian King , Howard Chu , Ze Gao , Jing Zhang , Sun Haiyong , Yicong Yang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240903102005.78049-1-james.clark@linaro.org> <8133d432-7674-4d07-bbb5-4131fe5d474e@linux.intel.com> Content-Language: en-US From: James Clark In-Reply-To: <8133d432-7674-4d07-bbb5-4131fe5d474e@linux.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 9/5/24 19:20, Liang, Kan wrote: > > > On 2024-09-03 6:19 a.m., James Clark wrote: >> I rebased this one and made some other fixes so that I could test it, >> so I thought I'd repost it here in case it's helpful. I also added a >> new test. >> >> But for the testing it all looks ok. >> >> There is one small difference where it now hides _all_ default >> events, when previously it would only hide some >> selected subset of events like "stalled-cycles-frontend". I think >> this is now more consistent across platforms because, for example, >> Apple M only has cycles and instructions, and the rest of the >> default events would always show as there. >> >> Tested on Raptor Lake, Kaby Lake, Juno, N1, Ampere (with the DSU >> cycles PMU) and I also faked an Apple M on Juno. >> > > The tui mode in perf report is broken on Intel hybrid machine. > > $perf record -e cycles,instructions sleep 1 > $perf report > > Without the patch set, in the tui mode, > Available samples > 7 cpu_atom/cycles/ > ◆ > 0 cpu_core/cycles/ > ▒ > 7 cpu_atom/instructions/ > ▒ > 0 cpu_core/instructions/ > ▒ > 0 dummy:u > > After applying the patch set, > Available samples > 7 /cycles/ > ◆ > 0 /cycles/ > ▒ > 7 /instructions/ > ▒ > 0 /instructions/ > ▒ > 0 dummy:u > > > It looks something wrong with the uniquify_event_name(). > > Thanks, > Kan > Thanks, taking a look.