Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp750374ybl; Fri, 9 Aug 2019 13:18:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCUuPHzQq8p20uf5UPi9MvOkRpnWKMdtbesFYhRJRhn4hVkLnJasDkEyJKgWqHAWr7zHzl X-Received: by 2002:a62:b515:: with SMTP id y21mr23675794pfe.213.1565381881268; Fri, 09 Aug 2019 13:18:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565381881; cv=none; d=google.com; s=arc-20160816; b=oPZ/y5z4qYWLZpMXQSqzFj9XQAaY3YXIXD9q6VLfV0YJ9oe8CyyNwtKYRyeWn5g7HJ njiqLYL+4AuaGlb8ow0sMwLFzwAAoyLv22lbrDuDq4cZ3PmY4CfW98/UmovatYnnEbWu DGq+7kbhffxM12vv76XekO7iKxEiAd8xicvDtL2owI3qjtWthN40G9YP1w8WUdgmFoqN dexFBPZCgWlbQ6E3vceSa96C/oY2vduJm36R6eIM8gi+18l+a0nCDX4A5UTLci1/Doec 6CjnieznFJHuKukLvqDK5ClcMN8imYY9RR1rkE1dIdddBAKg2guevOSZR+QpOz0j81/e BzwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=ps+kwDWgQoJY3CUqmmTxPvXo4adLKJif88scg6lrYf8=; b=nbVaoYdSvq46540FfpQUeNtZgOU8yePowdmVbPIauesD+v/HIxGKxhrb2duL68VUud 0ilcN/XjGsUwTbxJTANmHraupiuEq5ejqM0Un05VQqDV2LDb5lBjzL82Mlm5XwjA/nDq 74FYV1Gh6h9vs4P07u+HK5vgxkjRYNP3odREY/GVb8aecfkY1UivLMEPFJOB8eVrSLdn iDuKJ+BoroFQT6UojCFgHH5BCALqHtz9IZRTQqCetpp2seDSZ5vo43qHi8ra1NNaOJzC 8Yb8QZTW7p2PnGqTX43sGgiWweb/pXNiT00TtUDiQIVk3ryVb+Hh2UHWBT+EsvoQz7cu WASg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=fv2YO58s; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x20si16072323plm.61.2019.08.09.13.17.45; Fri, 09 Aug 2019 13:18:01 -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=@google.com header.s=20161025 header.b=fv2YO58s; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726140AbfHIUQ4 (ORCPT + 99 others); Fri, 9 Aug 2019 16:16:56 -0400 Received: from mail-pl1-f201.google.com ([209.85.214.201]:49852 "EHLO mail-pl1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725860AbfHIUQ4 (ORCPT ); Fri, 9 Aug 2019 16:16:56 -0400 Received: by mail-pl1-f201.google.com with SMTP id b30so4249969pla.16 for ; Fri, 09 Aug 2019 13:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=ps+kwDWgQoJY3CUqmmTxPvXo4adLKJif88scg6lrYf8=; b=fv2YO58sdU4AQ4I/RtKsVvbmSmj2rwepYD+glEMaxde9cOm6Ya1Ge8Yqqh3kUojLFR JR9B6TmnOS9/7Cby5qjnT7Jwt+MSb5MBzoEadrZflPdmFu4/4wUorIzus/YVb/0vW54b 7BM8Ma7BcDggHUci6UxcpH6E3/K/FaVHCspRanUX+/U6xeYXGoAU/Y5yL4mA76W2t+Vt U+pv5sBr0JvQPF2XU5wobvmIToBPSRKm0/7tbvw9m/SLl9CB9qlnKfcBs6XBzNLns0+E xhzTcCdRsNKolC/cIfwsLdeQyrCtbWSTPecL+kc83QZ+Tc040PLhv9PgsNjp5E6kMhgw xYRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=ps+kwDWgQoJY3CUqmmTxPvXo4adLKJif88scg6lrYf8=; b=hXEDyEvkjycBe+UlWa3fjk0DsY7W9/DNZ+8WggrOxvh5Qc5iy7ha/rq0kr4aPEciSQ rVUqP4Vkg3waWztM3GPsMn5sj6KD7f5V9DNP5oxfT+Dbw6U94bTf9ea0+j0wjuqx81M7 aO6RdaEuneWogZRzLnBCzazwUrnVlPomMmMZoyTdQm0AkH1Zbwe+Rb0eSAnjzS+8ecyH xN9kGYyA2e09wEy2d1wKBMiVEReJOAvqoNfFjrvwBvfV+T+gbl6rtG7oqByu/tzpCe4M s39UnRk/3zb2MNwbjx5K4tP8YH4FwMNLIM/dpsanTYurwgV9jVaOIguKM9b4kkmFMH9Q +Jkw== X-Gm-Message-State: APjAAAWURQnwYxZuKWWPENSKFN6E86zS/ua6eJwnn+jVDS0Zk9Ir5tdJ jH/XGw24SEodoMlEzn552kGaBa1fOw== X-Received: by 2002:a63:29c4:: with SMTP id p187mr19362879pgp.330.1565381815497; Fri, 09 Aug 2019 13:16:55 -0700 (PDT) Date: Fri, 9 Aug 2019 13:16:31 -0700 In-Reply-To: <84df6071-ef7e-c3d6-6ffa-fcfcbab0c8e6@arm.com> Message-Id: <20190809201631.208455-1-yabinc@google.com> Mime-Version: 1.0 References: <84df6071-ef7e-c3d6-6ffa-fcfcbab0c8e6@arm.com> X-Mailer: git-send-email 2.23.0.rc1.153.gdeed80330f-goog Subject: Re: [PATCH] coresight: tmc-etr: Remove perf_data check. From: Yabin Cui To: Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yabin Cui Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I totally agree that checking etr_buf is a better way. It solves my problem. I will upload a new patch soon.