Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2756962imm; Mon, 16 Jul 2018 13:41:19 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcQ8M6mKxj1RCeLOsjUtlUP5d7O9WGB9nlfX9EhahxX70rz/wRdKT7G5OSHclgTGZVeJBEB X-Received: by 2002:a62:1f8c:: with SMTP id l12-v6mr19740714pfj.143.1531773679127; Mon, 16 Jul 2018 13:41:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531773679; cv=none; d=google.com; s=arc-20160816; b=Yhln9fuhn9f1c09txWwPAoX+EOH0toKLMPLxe2RgXOom97bc8IwrGvIZ7k9iXKGOt0 mo6Urk9F8BEyXoyDe+yuYEd4TUAZRGA2sxSU0ECOCzk6yvc0GI5x/TF2Gw42O6NPOY5F cscuVfFKfmpOLf2eZ0R7RpOE1TqMfQ7PE/RvAZQZjBcVSBJmgXmN+nZ9c29ZzopEMRBe Ji7lSS0WeERhgXwGiyCOtPON+h34GJ0MCXeN73A+oj8ZaYxEG0uyQGMy6ENoBJrXamR0 UBC0jGAP+c/91wGddo6y+T2djB+c4gYIrvM512GyMaIQb//TxvFfu/jiPwR5RqQqWena +ZRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=FRpqMhAo6hyKcIR+H0TzXRiKinc52c/VFJHK9pZX3Fw=; b=X7TWlUqd9ij9CJx3jFEthdGWh8vvD3G44vx4WM3YdxHrsOq420Byz5j/LEhAIsGQzA ebEATh/LuqlCFXfxvwn74N1FM3OR1BVX0xzbr4C6uSiBPDYuTpMvUPrQT2at/M7BlS9F guTpvNwUwRv3/qZVF9K1Z4JzEhruNMogFzSYS+iJtwvA4r0vu/pRxSb+d+3DUNRdKHqG F9+eqYFEwpJOn8xc304tXG5g5jSTN4y+6K9bsXiLDr3tPaK4IvQSB9vk7Kjuc/ap1LDm fIDr+JFqpGM8MxnbjDCzyPjrMdUxLskodmclDegWJl8vmoup+nE6vCkKOjOgIB7vKRL5 Ol9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LqTpYgaW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si32151947plt.342.2018.07.16.13.41.04; Mon, 16 Jul 2018 13:41:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LqTpYgaW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729859AbeGPVJc (ORCPT + 99 others); Mon, 16 Jul 2018 17:09:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:37370 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728290AbeGPVJc (ORCPT ); Mon, 16 Jul 2018 17:09:32 -0400 Received: from jouet.infradead.org (unknown [189.40.103.136]) (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 243C520846; Mon, 16 Jul 2018 20:40:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1531773627; bh=AnZhwB74Ay7cGB5H9QsYL8pH1QqgVtvcPq9Y07zOM7o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LqTpYgaWdhMFg8j3l6PiqHoK3o/HfFLrJcLDuxcxbFHjqpEmNbiQC5jW9C32h8xo8 ZRnSY2O678u6cMVsKlp+xWYWz+xw4yXn0TSWsDRczgcp3YyfBViKb5nWgaTjid1ncK HY+23OYw25XZEG+K5BkRokedPdlVHk0UKWib9RGg= Received: by jouet.infradead.org (Postfix, from userid 1000) id 2EA83144881; Mon, 16 Jul 2018 16:40:23 -0400 (EDT) Date: Mon, 16 Jul 2018 16:40:23 -0400 From: Arnaldo Carvalho de Melo To: Thomas Richter Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, brueckner@linux.vnet.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, ak@linux.intel.com, jolsa@redhat.com Subject: Re: [PATCH 4/4 v4] perf stat: Add transaction flag (-T) support for s390 Message-ID: <20180716204023.GA13669@kernel.org> References: <20180626071701.58190-1-tmricht@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180626071701.58190-1-tmricht@linux.ibm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Jun 26, 2018 at 09:17:01AM +0200, Thomas Richter escreveu: > perf stat command line flag -T to display transaction counters is > currently supported for x86 only. > Add support for s390. It is based on the metrics flag -M transaction > using the architecture dependend json files. This requires a metric > named "transaction" in the json files for the platform. > > Introduce new function metricgroup__has_metric() to check for > the existance of a metric_name transaction. > > As suggested by Andi Kleen, this is the new approach to support > transactions counters. Other architectures will follow. Applied the 4-part patch series, - Arnaldo