Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2135165ybz; Thu, 23 Apr 2020 12:12:33 -0700 (PDT) X-Google-Smtp-Source: APiQypLDhgopWMNstq1f2MMw9Tvvq/YweHgl1tTYqPfy7nYBaZ+0jLMTUSERFJj+ztxHMLZ6NmxG X-Received: by 2002:a17:906:d14b:: with SMTP id br11mr4125121ejb.213.1587669153051; Thu, 23 Apr 2020 12:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587669153; cv=none; d=google.com; s=arc-20160816; b=GwNwWSgUilEEUP7NDAUAZJIrQb5MNqYA5Ha8AOm+SpQGiPcfFuqFhJWbjb5cW4AyTK afDNPmrxvGelUVGCFcUNtcIz5EM1XVzoj4UZf436HwjUzniTnOnGVFiyKC8wbFSTFpBI S98qzzv7HX9qifQcW9pb0jU0x5tvfOdFJu03cfT8x4/eL3QjP8MntptMl9WyKkGQvEv5 xAPqrdh/X4oC06a/uhd5e7AX4sqsVtizq1CxlHz5IFtDzKf09sLwJDe9/1AaSGgsV/DC NyMYEM8X1S8N8g92eM446x042QiEv+yaXg2pcMGXa2iBBwdlBKkKmA1wJIimqd8eZukY O5WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=bwq59lAwZcqWx6DoQUqW9btvyMCwQqbrPUnucuTaXSI=; b=YsT+ml76/MOwZL5FEq5u0BNTFKB8WwtuD/DVCGK1rq6y70/abF8erfbpL6cLk3hefF xv6ZJ/ivSwsdU/soJO9je/ogeFCTjSXvV9eJVEyfzk91b5m2GY2VMW3uqC2888cQmi6l Nv0aYGmcIEZor8wEvNQOh44OzEg0+PbmtzzO4rN+pHCNfIpX8ym7gRKyS2Dw7OzfDX5V 0rxS0QXYEj7wXAS1YkFnpDdZwmMTTJceOIfK88qwXsJa5aTPQWYc3UsVrAaSyd8vz+QB mWW2kne1E8H9f6LF7YIp9iN7pjQ+fmo9xrCmPydlv5yuRcKLGimbHW3WLDlIbGIWHb2X QbIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LkkP80Z5; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i1si1673450edy.179.2020.04.23.12.12.08; Thu, 23 Apr 2020 12:12:33 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=LkkP80Z5; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728054AbgDWODJ (ORCPT + 99 others); Thu, 23 Apr 2020 10:03:09 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:20623 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726060AbgDWODI (ORCPT ); Thu, 23 Apr 2020 10:03:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587650587; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bwq59lAwZcqWx6DoQUqW9btvyMCwQqbrPUnucuTaXSI=; b=LkkP80Z5PKs2UlufakMswl3jS+dwuCFbPBM+eS8TBWkJyNJaUXbH1Ng+/gkbVMy5bU8Dhu laOi8S1drBcC6um7zbXRDT/tbC5FtaYHMIwu065KlB0g5zyn5jyR/LzGoX3bTvIOe9vUl+ SWqgInMZefWYGcrQC+hyKt2bpBlQdFg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-208-Hj0OtouUMO2odi5YGP4xCg-1; Thu, 23 Apr 2020 10:03:01 -0400 X-MC-Unique: Hj0OtouUMO2odi5YGP4xCg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CD9508014D8; Thu, 23 Apr 2020 14:02:58 +0000 (UTC) Received: from krava (ovpn-115-157.ams2.redhat.com [10.36.115.157]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 570A45D9D3; Thu, 23 Apr 2020 14:02:52 +0000 (UTC) Date: Thu, 23 Apr 2020 16:02:49 +0200 From: Jiri Olsa To: "Jin, Yao" Cc: Ian Rogers , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Namhyung Kim , Kan Liang , Andi Kleen , Haiyan Song , Song Liu , Ravi Bangoria , John Garry , Leo Yan , Adrian Hunter , Paul Clarke , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Stephane Eranian Subject: Re: [PATCH v2 00/11] perf metric fixes and test Message-ID: <20200423140249.GA1199027@krava> References: <20200422220430.254014-1-irogers@google.com> <20200423112825.GD1136647@krava> <1dd2e280-d711-2dda-61b1-b81609af6467@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1dd2e280-d711-2dda-61b1-b81609af6467@linux.intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 23, 2020 at 09:44:24PM +0800, Jin, Yao wrote: > Hi Jiri, > > On 4/23/2020 7:28 PM, Jiri Olsa wrote: > > On Wed, Apr 22, 2020 at 03:04:19PM -0700, Ian Rogers wrote: > > > Add a test that all perf metrics (for your architecture) are > > > parsable. Fix bugs in the expr parser and in x86 metrics. Untested on > > > architectures other than x86. > > > > > > v2 adds Fixes tags to commit messages for when broken metrics were > > > first added. Adds a debug warning for division by zero in expr, and > > > adds a workaround for id values in the expr test necessary for > > > powerpc. It also fixes broken power8 and power9 metrics. > > > > looks good to me > > > > Jin Yao, is there a metric that's not working for you with this patchset > > applied? > > > > thanks, > > jirka > > > > Let me look for a CLX for testing, but maybe need some time. > > BTW, suppose this patchset can work well, does it mean we will change the > json file format in future? > > For example, > > before: > cha@event\\=0x36\\\\\\ > > after: > cha@event\\=0x36\\ > > "\\\\" are removed. > > If so, we need to change our event generation script. ok, maybe I got the wrong idea that the extra \\\\ were just superfluous, what was the actual error there? and what's the reason for that many '\' in there? jirka