Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp508294pxb; Thu, 21 Jan 2021 12:27:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwnGszKQB6jTrOQoNab/O6QPl1ktZp8OUDOSrvxP4V4fBjkovTaG5t2vB8TCQgpvsEdXxIB X-Received: by 2002:a50:d8c4:: with SMTP id y4mr686157edj.261.1611260826880; Thu, 21 Jan 2021 12:27:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611260826; cv=none; d=google.com; s=arc-20160816; b=lGSkfqen6ntxbShwO+ZHXPQ2Fi/BC8StTRGcWkvUavejVeZgx9kk7TI6yLxmWQ5/Ov LjUNcqqEy8pPNshnGRvDBGSRDcdGDQ7fQ+OH2tYv/7Jyv/S1cvjYDu1tzNBwv0spItTU gXJfV/OEg2XR/nv62D7SaThtKph64q4cBy8eYRWWJWwcUpm9ogdC2JGVioYZx791J3mV BLqdloOvKTnPcHsdFCg4+qjobgUkpSi8v6hHuzIxwTANtaD0ohLNkVCjgtN2t6Y4LFhy AKNcTSYQxcb8TolBzc7RFiUJKRI3R5WAbLiCoXX+XC5KUUsFRcDk7+qkl2wNsXrzuh++ HB4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=W3kjbItWnPXk1hCbtBmnwq3EetuGOSaXmtQ5hY2OnLg=; b=l4jMB3tW89ia4ZrpZ5mloa491ljfY5P82/7HNaxtsyV7OCC/f4wb/JBRLIgpFqzFhs ZURVFw3DqPIcbnYx3tS88VdOk4qAuWut0L1/vhDsBmA9m9HofLVgzlXMCUM95+QnJqdY XOpBJN4UTNMPOeG0q8YiROHHP4BtCkKiN3O7EjhRgUznUZR5fypD0IM9RK+5eInMoa3o ecxkSpnMm5fxeE2dF/CdUJM6eUy0uDsEGRLPEWt0hDj5aVjNLTVQJ8D08a+Vqe04hRKV 6RajSLQnHgfGUu2xhprPsu4hBqT8FmZVy8Hyg0HJvG6kR88G4fHdSEOnaCKmut60hR+j TUPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=REsIYYJu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m16si2164174ejj.44.2021.01.21.12.26.41; Thu, 21 Jan 2021 12:27:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=REsIYYJu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726134AbhAUUZf (ORCPT + 99 others); Thu, 21 Jan 2021 15:25:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:54186 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbhAUUY5 (ORCPT ); Thu, 21 Jan 2021 15:24:57 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8D19E23A54; Thu, 21 Jan 2021 20:24:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611260656; bh=SvvmmQ+xItm/c5z2bDBApGlidlaKB6PzvX24NzF6+uY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=REsIYYJuovg/hARvfHLhjx1FJfBkVMIL6ZKbITaU3htHAdOmT2ocKYHF+DH28ypWW eM/os3W96zs3JwI36vZg+h0VKhXo5VIyjz4zfyePjrNqLl8te2RLjjclVPNyLBGMNq Om8i0rbnQ1lKGaruLliZ0I/fpB22KS4tSOvupC77cKFR2zi2j4mMKpGQUZdZ61InrZ V+WiqIaUjAfuR2G6rAHGJdEzhxr/qWW20qUn8qd/OPaZUBsLCV1163TGfqZKBIQLo5 W55Ya+VqngDqsXyP9NomjypJfM2Puk3/TnYrKqBd7NxWusZT9vkm9qu2lnAnNphlbI /9Rux26fqwbmg== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 61F0540513; Thu, 21 Jan 2021 17:24:13 -0300 (-03) Date: Thu, 21 Jan 2021 17:24:13 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Jin Yao , jolsa@kernel.org, peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, adrian.hunter@intel.com, Linux-kernel@vger.kernel.org, ak@linux.intel.com, kan.liang@intel.com, yao.jin@intel.com Subject: Re: [PATCH v2] perf script: Fix overrun issue for dynamically-allocated pmu type number Message-ID: <20210121202413.GC356537@kernel.org> References: <20201209005828.21302-1-yao.jin@linux.intel.com> <20210120215004.GD1798087@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210120215004.GD1798087@krava> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Jan 20, 2021 at 10:50:04PM +0100, Jiri Olsa escreveu: > On Wed, Dec 09, 2020 at 08:58:28AM +0800, Jin Yao wrote: > > After: > > swapper 0 [000] 1397040.402011: 272384 cpu-clock: ffffffff9d4ddb6f cpuidle_enter_state+0xdf ([kernel.kallsyms]) > > swapper 0 [000] 1397040.402011: 5396 uncore_imc/data_reads/: > > swapper 0 [000] 1397040.402011: 967 uncore_imc/data_writes/: > > swapper 0 [000] 1397040.402259: 249153 cpu-clock: ffffffff9d4ddb6f cpuidle_enter_state+0xdf ([kernel.kallsyms]) > > swapper 0 [000] 1397040.402259: 7231 uncore_imc/data_reads/: > > swapper 0 [000] 1397040.402259: 1297 uncore_imc/data_writes/: > > swapper 0 [000] 1397040.402508: 249108 cpu-clock: ffffffff9d4ddb6f cpuidle_enter_state+0xdf ([kernel.kallsyms]) > > swapper 0 [000] 1397040.402508: 5333 uncore_imc/data_reads/: > > swapper 0 [000] 1397040.402508: 1008 uncore_imc/data_writes/: > > > > Signed-off-by: Jin Yao > > --- > > v2: > > Remove Fixes tag because this issue has always been here, not caused by > > 1405720d4f26 ("perf script: Add 'synth' event type for synthesized events"). > > No functional change in v2. > > Acked-by: Jiri Olsa Thanks, applied. - Arnaldo