Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp492690pxa; Thu, 27 Aug 2020 07:51:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyj+D8AiXwOrBYQp3sXPH86G7ijhYH+Nc5w1mt1S88V3cp7lmBXopKLvbptfZfAX9TVNXEs X-Received: by 2002:a17:906:b88b:: with SMTP id hb11mr21022763ejb.59.1598539907287; Thu, 27 Aug 2020 07:51:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598539907; cv=none; d=google.com; s=arc-20160816; b=yuepJ7zwy8ChjjANmKPK98dmKFuap4ahtlYc9lJd2VxZgXpCAry8DXSQ0tdAXs8mTs ps+jCbq9IJFGTckN0K4/PRVxv+HGXJLg58B9sSrdBV2DovjOwkNWorzyjMIPdTqyp0Na +4vgS8pud6RhhScqb24QgUZV0xwp373/ZEtR+HjYUI2bSgetntNix5KZZ06Dt3SrRGoA +xA31NV/AGzjXBxhpJfm4AYsMjJqH4lLuM19LWv1kuAirtmwwkmwalSk6ED+uXOcwX8g ADoWAbKmT3zwT2YeFqBEJLJVnZDr1L8R6Xb4tpDaEl/hx9lDhvIpilXFKtX+GsIYb8Nk CWWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Lb+AVtJ8PAlAl1VMYiXVsxw4rciY3DKqecpyBO4BQCY=; b=r9/on4TZzeEFVc8YujE3JZ38kpFYcO2GEA6tBnWzpoI01kXcpWgRAS/suKo0vqcQ0H KQzTb6omhgu2e/sq7Ulfki6GNw+ZE2Rahwcmo3BuRMUbVm4THW0GuR6HGdWANrnBplV0 vUtad9zFwsWf2ZxAz7qdMcOrl/oMtglIX9//zLK/6Wt7u5P5ng7KK61eY7imXotFfQHd 0jUJ1yaRLa3a5MczP/i9FkH6LifTfc9hylm9k8q4Dp3N78sq1RHPwyXTfpC5OqBSzM7R Ui43M/whVwII7FvxtST1ygMM5hg78dRO0fvBgFJWf9TrHrF/6Wb662rLIpOeOw4rT0ny 9drA== ARC-Authentication-Results: i=1; mx.google.com; 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 31si1701011edr.592.2020.08.27.07.51.23; Thu, 27 Aug 2020 07:51:47 -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; 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 S1728233AbgH0Otv convert rfc822-to-8bit (ORCPT + 99 others); Thu, 27 Aug 2020 10:49:51 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:38111 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727866AbgH0N5S (ORCPT ); Thu, 27 Aug 2020 09:57:18 -0400 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-53-sP3gFXKOMm6mZiOyc_iYeA-1; Thu, 27 Aug 2020 09:48:35 -0400 X-MC-Unique: sP3gFXKOMm6mZiOyc_iYeA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CD9F08018A1; Thu, 27 Aug 2020 13:48:33 +0000 (UTC) Received: from krava.redhat.com (unknown [10.40.195.119]) by smtp.corp.redhat.com (Postfix) with ESMTP id 32FC37C55A; Thu, 27 Aug 2020 13:48:31 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Ian Rogers Subject: [PATCH 1/2] perf tools: Disable ordered_events for report raw dump Date: Thu, 27 Aug 2020 15:48:29 +0200 Message-Id: <20200827134830.126721-1-jolsa@kernel.org> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=jolsa@kernel.org X-Mimecast-Spam-Score: 0.0 X-Mimecast-Originator: kernel.org Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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