Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3529437pxb; Mon, 16 Nov 2020 18:00:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKYUsMKzf7cmPH3RbJAidDfy/mOSyG5hnxs1O71kA9Xm6CoLib/1nNLnhzijW/6fPR4egI X-Received: by 2002:aa7:d443:: with SMTP id q3mr19588448edr.262.1605578433168; Mon, 16 Nov 2020 18:00:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605578433; cv=none; d=google.com; s=arc-20160816; b=mJ1pG0zf/WN34f231c2t6KiRwBfdmQAmnVwDkzLQwGhLt3cFvlhrclMNVIQMhOK7fE Syq1bB5nTXF6rkCqXv8b56+AskimJMAh8fk3EjtycUUGRmWfiAr2TQIE0NAsQFz0zYjV xg8/Wkogup7iokK/8bO5sbr97q7kZ1fTINx02T8pehGPAAGvWD+MYEHyqkvwpkNV7PaM lZ+JdADLiYLyty4VeJIckNmvznFYJfwHL+xMF1m7X4Ayi9vTUfoy0eVeJ5WWpNG0N4fo ZfJLGnE1aQBCHQUw4nUsyvTkynHEow/UOu8tozxlUIrscElJeQRTbKQy8R2Ri11U13VX 8XQg== 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=ejCUXZkbj18J+cN+cycm/mRVs/X6/uMxfoCXH1kWhFk=; b=uMex4BH8Blngc8SYlDXS1so2Z+lXoJG5xrbeW71eXUbp7YsbSzPqVZ1qeFnVQbavoR hGprNmP4dx9o/pjsdl2GB+fj+0LnU63KqROS4uyX6ziYGyEU9UjBWHGXS73EZDtHQHgQ s2tj8xz0sKJKbE4wjdRwrTMyiwA+fFHKp28T68bMKCsz27YzSc6rC73rqsKhF9QcHyq8 6yHWtZjbUkKPUbDoaessY3SLtifQskgzhRPIqM4h6fJHUZI1ur4qAU2ZGePVXPQVyPZk ZBtovfp5tIKymfwP47eWGbCGnNpYSce/yJgOlIVOQd8yjZFaS4zMb+2qyDmBptNTnOd5 njMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GbEG72eE; 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 w14si12688481eje.646.2020.11.16.18.00.09; Mon, 16 Nov 2020 18:00:33 -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=default header.b=GbEG72eE; 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 S1729328AbgKPTYo (ORCPT + 99 others); Mon, 16 Nov 2020 14:24:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:34578 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729060AbgKPTYn (ORCPT ); Mon, 16 Nov 2020 14:24:43 -0500 Received: from quaco.ghostprotocols.net (unknown [179.97.37.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B47052225B; Mon, 16 Nov 2020 19:24:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605554682; bh=pnV3gWTYV5KG3s3FHVWblN1cCZpCxpWkH37G0pRehr4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GbEG72eEUkAdwlc0l8ynXToFOIn2dy3UU72BjvQxf5CcoOxLbv1hF2PkStWJvKzfg oOfQ2VCcCfJ2oj6FwrPbfwY8SS9ji5usUM/oFJ/rLc4+qqReH+7Cj4m8nQ0BMM67nA 3+yEZd0jB1lLeZ+tlBzW6J+suXT0l2gu/ojOO5kE= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id A454C40E29; Mon, 16 Nov 2020 16:24:40 -0300 (-03) Date: Mon, 16 Nov 2020 16:24:40 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: Namhyung Kim , "Jin, Yao" , Jiri Olsa , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , linux-kernel , Andi Kleen , "Liang, Kan" , "Jin, Yao" Subject: Re: [PATCH] perf vendor events: Update Skylake client events to v50 Message-ID: <20201116192440.GC614220@kernel.org> References: <20201104015102.30363-1-yao.jin@linux.intel.com> <20201106030018.GA359712@google.com> <93fae76f-ce2b-ab0b-3ae9-cc9a2b4cbaec@linux.intel.com> <20201116170553.GG509215@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Nov 16, 2020 at 11:12:30AM -0800, Ian Rogers escreveu: > On Mon, Nov 16, 2020 at 9:05 AM Arnaldo Carvalho de Melo > wrote: > > > Em Fri, Nov 06, 2020 at 01:21:58PM +0900, Namhyung Kim escreveu: > > > On Fri, Nov 6, 2020 at 12:12 PM Jin, Yao > > wrote: > > > > >> Signed-off-by: Jin Yao > > > > > > > > > > It seems not applied to acme/perf/core cleanly. > > > > > > > > > > Thanks, > > > > > Namhyung > > > > > > > > > > > > > It seems the patch mail is truncated. :( > > > > > > > > I attach the patch file in the mail. Sorry for inconvenience. > > > > > > I've checked it fixed the perf test on my laptop (skylake). > > > > > > Tested-by: Namhyung Kim > > > > Thanks, applied. > > > > - Arnaldo > > > > Nit, as the code is generated, would it be possible to add the commands to > regenerate it? > > E.g. Using the code in: > https://github.com/intel/event-converter-for-linux-perf > And extracted perfmon_server_events_v1.4.tar from: > https://download.01.org/perfmon/ > run: > json-to-perf-json.py --outdir tools/perf/pmu-events/arch/arch/x86/sklylakex > perfmon/SKX/skylakex_core_v1.24.json > Looking at the download.01.org/perfmon json there are files > like skylakex_fp_arith_inst_v1.24.json, and how these are incorporated into > these events is less than clear. You mean change event-converter-for-linux-perf to add this as JSON comments at the start of the generated files? - Arnaldo