Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1900794pxk; Tue, 1 Sep 2020 10:21:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyittlfpahS1HpybbmOid5rXssUqXYTw0bxnis7f17OYZHyh02ELIz5OCy43lvF8/Jyf9fY X-Received: by 2002:a05:6402:948:: with SMTP id h8mr2771199edz.325.1598980903162; Tue, 01 Sep 2020 10:21:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598980903; cv=none; d=google.com; s=arc-20160816; b=xstvBOTDQMs1v/kUH2q8gHaNH/oP+lR8EDg0pBC0qodVop3DrbEiJaYyyLHaFX3RJC rCKGHCD+kYv30DXSQw62mB8tPxYRJdex2UZqIoXtdoRSjcB0TWfodNSxnXQPiMmVQGCF Khn5hVTtw1eyLLmb6KulmWyMMH8hRJauJ0KExwHQJ6Zuf6v2eIeOCaU2Er9o4SvfO5oX PYTerQRgXXkETrVEUkKSsMTMrp99LebKeDt2SXlAt33AJrJBEkbMNcYwAhqDAIJBtUct dRv9gZvgxtn9Kp8OsGEkJygxnqpDMpVPtGIJBthW+K4ehhMFwuHJwZicYJPg8NAKxLiL vIaQ== 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=aIPLTtSLyLw1wlHTUDVlI0OGkx06bNY59U25EaCcIWc=; b=Z76oIrxjTycV4UdS9gf6EqrAjawLu0ixe5K1x05gNt9uTNMOFyLlcuAq4awT36wWh+ LuLTn3oK5AunEsDBsH13BVieeKRBc0l7A/f5qMnReRvJ0Lj01UX7Cd+mJE1K/4ae660k qBqtzVIgWRRY6kt22eMkKdS5iG7O8NUOU63NpVs15ydSv2ra37X0LHEd4mP3Sn9xmcy/ CIyzjmnPpeRPaOMoyPoij5Y6j8MApq+UOC7949Y7lQliyyWgw9KHl7X/wGQUz1LmiNNM eJxjTEtKshTUA7u2B9kUmhkHcD9WgQDryHaoWll9wSvI8Q83/p0uX2gj2KBQdbFN5dLC aUlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o7yvfEi+; 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 z15si1075540ejr.114.2020.09.01.10.21.19; Tue, 01 Sep 2020 10:21:43 -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=@kernel.org header.s=default header.b=o7yvfEi+; 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 S1729139AbgIARUV (ORCPT + 99 others); Tue, 1 Sep 2020 13:20:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:55740 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728833AbgIAPNA (ORCPT ); Tue, 1 Sep 2020 11:13:00 -0400 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 74E0D208CA; Tue, 1 Sep 2020 15:12:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598973179; bh=XDtrRJ4dCKFTtxrT4PYqUk/dD8gYaN6Q7gWe70dEA0o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o7yvfEi+kBwJW2cwGcPlCFkeO3GtWq5ZTF8uxZ2YhYhAdwZkjAfurkxxXR7t2kEQS BoGjUB2Za4Uhu5gyeJhhN6CWYq8kU9N1MPl8ht2PpAAwolk20Mso8ATx/fHePMI36P uLtGvWBzrtlvxdSYaEM+ODIf5WxI1eJ8o9paNHmk= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 4E71A40D3D; Tue, 1 Sep 2020 12:12:57 -0300 (-03) Date: Tue, 1 Sep 2020 12:12:57 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Ian Rogers Subject: Re: [PATCH 1/2] perf tools: Disable ordered_events for report raw dump Message-ID: <20200901151257.GC1424523@kernel.org> References: <20200827134830.126721-1-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200827134830.126721-1-jolsa@kernel.org> X-Url: http://acmel.wordpress.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Aug 27, 2020 at 03:48:29PM +0200, Jiri Olsa escreveu: > Disable ordered_events for report raw dump, because > for raw dump we want to see events as they are stored > in the perf.data file, not sorted by time. Applied to perf/urgent, Thanks, - Arnaldo > Signed-off-by: Jiri Olsa > --- > tools/perf/builtin-report.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c > index ece1cddfcd7c..3c74c9c0f3c3 100644 > --- a/tools/perf/builtin-report.c > +++ b/tools/perf/builtin-report.c > @@ -1332,6 +1332,9 @@ int cmd_report(int argc, const char **argv) > if (report.mmaps_mode) > report.tasks_mode = true; > > + if (dump_trace) > + report.tool.ordered_events = false; > + > if (quiet) > perf_quiet_option(); > > -- > 2.26.2 > -- - Arnaldo