Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5672069img; Wed, 27 Mar 2019 12:54:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyuM3V6Zz79nU/k9XyafsAQJO4Hdqf6ZLtpnQ1Fqh2VH2AJkz3Q3W6Y5KBac1YA9/BaK4hq X-Received: by 2002:a63:3dc8:: with SMTP id k191mr19390433pga.286.1553716479307; Wed, 27 Mar 2019 12:54:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553716479; cv=none; d=google.com; s=arc-20160816; b=p4qUa4FJ4POr8vUkaSh/fe52JeoATzNCbzuIoY1p60RbdOgaGcyy/LbX2WBYqxrwWm 7JNsV2CaAecM6drzdPG+KqG4JoDiXtxHmH6+FDQpLLyKWsnF5sQaRfubK7cM9lK/ogUB JuabN8yBtjPn3vdP7zPAYjy3JuAVv29nsYTnaoWYQl7j0mmlhSO28P6To5rgXcaqfjrM 4asYMWxoP0G1xIk7OA6XQul76M7XPwdiuzrijVmfLE6v2aQufUiOLfP3FGonHujDgQ/5 tO7vrprY1HMZ8p2dzrceBmu3N/efKTWDYAzzMWKqyakvBPcD9ohJgvQBIKNn/e5b8G2N FRWA== 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; bh=eeYrD/7H5h7tZQXtq0x/ovouHZFi9modXHxp6p6oC1I=; b=fSymLO+8enav1Ox0WN0Rer9tuzO8QRrSqpGvaIrWZcGXs15CJTvQF2aHX0LROe5t4o XlWUKVdxK9uwjXT4H+EX5JZm6KZUzsokfu4woK6hDC2ETeh8oj4mJ6uH79/DDN0DJ2tf inhY50R6dQj1q4LNPPTEDQfzh/jQKbhB9R6jGacCIGgp8iVVG8AdyJ2pL9kmIDB7BBIS Ful1ozZjyKf0Sgm8RYVuyPCp0U8uRZ7DRqJnlUSHnpAG3J54IsK82ZB4iUzyB15MAALx bu1F/NecrqaowNhGonm7PrQDcCstWIAuBjL6f4GU1/Z02KDry1QT1IzXGH1/yqjGc7pQ koLQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x15si19344540pgi.420.2019.03.27.12.54.24; Wed, 27 Mar 2019 12:54:39 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729690AbfC0Tvk (ORCPT + 99 others); Wed, 27 Mar 2019 15:51:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56716 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729409AbfC0Tvk (ORCPT ); Wed, 27 Mar 2019 15:51:40 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 49C7381E06; Wed, 27 Mar 2019 19:51:40 +0000 (UTC) Received: from krava (ovpn-204-109.brq.redhat.com [10.40.204.109]) by smtp.corp.redhat.com (Postfix) with SMTP id CAA716092E; Wed, 27 Mar 2019 19:51:38 +0000 (UTC) Date: Wed, 27 Mar 2019 20:51:37 +0100 From: Jiri Olsa To: Andi Kleen Cc: acme@kernel.org, jolsa@kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: perf: Add duration_time to perf stat Message-ID: <20190327195137.GC17944@krava> References: <20190326221823.11518-1-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190326221823.11518-1-andi@firstfloor.org> User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 27 Mar 2019 19:51:40 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 26, 2019 at 03:18:19PM -0700, Andi Kleen wrote: > Currently it's not possible to get the wall clock time of a measurement > in CSV mode output, it's only in the non CSV perf stat output. > Often this is needed to normalize event counts to time. > > Add a new duration_time event that can be specified and reports > the wall clock time in ns. Acked-by: Jiri Olsa thanks, jirka