Message ID | 20210517131741.3027-3-james.clark@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=iJAY=KM=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43894C433B4 for <linux-arm-kernel@archiver.kernel.org>; Mon, 17 May 2021 13:24:16 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 10D6F61059 for <linux-arm-kernel@archiver.kernel.org>; Mon, 17 May 2021 13:24:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 10D6F61059 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MpYWsDUs5nNHwN1lEvWEj2+JpnMwssv9MlrUNL/f0vU=; b=H5M9jqwhd6QWaKgHuNH6lieHL 87V3G1Nt6+jFS8bnQ7SXitFZ4AOTwmLawj9rFVoUx8ZKAGOAEHnQV696WOcwF8FME1ZgIgUml+KTt qHp5P+cKzfrL9tUfAjhJaP8VD1J3RzCFD4R7Q6XmFEeiy23dq7VjUSMiwIqqTgWiShyIggEiWXoGr mkNJu+MuhjKVze4l2UqhFBX+P/hzPUS6/FGtn5rx1AFIMrv4oo2u4Wh3Ga/c6HA/VPmB99+mRnsQv oS24akHa9LIIIBDYJsXJixB6EYmC4Z43cfhQfF38eSW8McubhuvVU+SqI6mQhL0gSgO/UoI5VNKty 6KpPOX8sQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lidBr-00F36v-1B; Mon, 17 May 2021 13:21:53 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lid8O-00F2RU-9n for linux-arm-kernel@desiato.infradead.org; Mon, 17 May 2021 13:18:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=21Yt3/Ov64nyHxqt88qQk1CFPQl8WanPJyP4xjFRSOo=; b=mzZ+7sOqB/Urpl88LkVMAq5ehT tq0VUwNIXgHc6zlTfys9lTvkpkbMH3WjY1vznqValQePfSVF68FQIBdf7HrGLR1NV2xk5joXUXEf+ tGwo//wSv5Mwj9v5e7Tfcqqo2vcawCjt+0090+eNG7XBAEoKgfuzTAIoo/ikDzp0nqUM7o3K39L94 btROhN4IV3T0VlwSBRt6SPLOoj8oFcuiXzDZuvuMwjzaM4mf7bNGOr2NBWVet/6uYGcGQCOOaXIm0 6tDMuwMQVjb+BAYen5sht+oIAROvhKKYsefxXVoOqScsDeZTE5fvLrFA6vFHAEaGmE2JVUXedRACM SqQbRWiQ==; Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lid8H-00DnAu-90 for linux-arm-kernel@lists.infradead.org; Mon, 17 May 2021 13:18:10 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EFE0A139F; Mon, 17 May 2021 06:18:02 -0700 (PDT) Received: from e121896.arm.com (unknown [10.57.3.96]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 132943F73B; Mon, 17 May 2021 06:17:59 -0700 (PDT) From: James Clark <james.clark@arm.com> To: acme@kernel.org, mathieu.poirier@linaro.org, coresight@lists.linaro.org, leo.yan@linaro.org Cc: al.grant@arm.com, branislav.rankov@arm.com, denik@chromium.org, suzuki.poulose@arm.com, anshuman.khandual@arm.com, James Clark <james.clark@arm.com>, Mike Leach <mike.leach@linaro.org>, Mark Rutland <mark.rutland@arm.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Jiri Olsa <jolsa@redhat.com>, Namhyung Kim <namhyung@kernel.org>, John Garry <john.garry@huawei.com>, Will Deacon <will@kernel.org>, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/3] perf cs-etm: Start reading 'Z' --itrace option Date: Mon, 17 May 2021 16:17:40 +0300 Message-Id: <20210517131741.3027-3-james.clark@arm.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210517131741.3027-1-james.clark@arm.com> References: <20210517131741.3027-1-james.clark@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210517_061805_379003_F6A540B6 X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
perf cs-etm: Handle valid-but-zero timestamps
|
expand
|
diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c index a752fe06f170..64536a6ed10a 100644 --- a/tools/perf/util/cs-etm.c +++ b/tools/perf/util/cs-etm.c @@ -2473,6 +2473,10 @@ static bool cs_etm__is_timeless_decoding(struct cs_etm_auxtrace *etm) struct evlist *evlist = etm->session->evlist; bool timeless_decoding = true; + /* Override timeless mode with user input from --itrace=Z */ + if (etm->synth_opts.timeless_decoding) + return true; + /* * Circle through the list of event and complain if we find one * with the time bit set.